Merge branch 'ModelsAndContracts' of http://student.git.athene.tech/maxKarme/PIbd-22_Karamushko_M_K_University_CourseWork into DatabaseImplement
This commit is contained in:
commit
53fe0986cf
@ -8,5 +8,6 @@ namespace UniversityContracts.BindingModels
|
||||
public string Name { get; set; } = String.Empty;
|
||||
public string Department { get; set; } = String.Empty;
|
||||
public int StatementId { get; set; }
|
||||
public Dictionary<int, IStatementModel> DisciplineStatements { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
using UniversityContracts.BindingModels;
|
||||
|
||||
using UniversityContracts.BindingModels;
|
||||
using UniversityContracts.ViewModels;
|
||||
|
||||
namespace UniversityContracts.BuisnessLogicContracts
|
||||
@ -6,5 +7,9 @@ namespace UniversityContracts.BuisnessLogicContracts
|
||||
public interface IReportLogic
|
||||
{
|
||||
List<ReportStudentDisciplineViewModel> GetStudentDiscipline(ReportBindingModel model);
|
||||
List<ReportStudentsViewModel> GetStudens(ReportBindingModel model);
|
||||
void SaveStudentsToWord();
|
||||
void SaveStudentsToExcel();
|
||||
void SaveStudentsToPdf();
|
||||
}
|
||||
}
|
||||
|
@ -8,5 +8,6 @@ namespace UniversityContracts.ViewModels
|
||||
public string Name { get; set; } = String.Empty;
|
||||
public string Department { get; set; } = String.Empty;
|
||||
public int StatementId { get; set; }
|
||||
public Dictionary<int, IStatementModel> DisciplineStatements { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,14 @@
|
||||
using UniversityDataModels.Enums;
|
||||
|
||||
namespace UniversityContracts.ViewModels
|
||||
{
|
||||
public class ReportStudentsViewModel
|
||||
{
|
||||
public string StudentName { get; set; } = string.Empty;
|
||||
public string ExaminationForm { get; set; } = string.Empty;
|
||||
public MarkType mark { get; set; } = MarkType.Неизвестен;
|
||||
public DateTime ExaminationResultDate { get; set; }
|
||||
public int HoursCount { get; set; }
|
||||
public DateTime StatementDate { get; set; }
|
||||
}
|
||||
}
|
@ -4,6 +4,6 @@
|
||||
{
|
||||
String Name { get; }
|
||||
String Department { get; }
|
||||
int StatementId { get; }
|
||||
Dictionary<int, IStatementModel> DisciplineStatements { get; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user