Merge branch 'ModelsAndContracts' of http://student.git.athene.tech/maxKarme/PIbd-22_Karamushko_M_K_University_CourseWork into BuisnessLogic
This commit is contained in:
commit
c5a57a6421
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,14 @@
|
||||
using UniversityDataModels.Enums;
|
||||
|
||||
namespace UniversityContracts.ViewModels
|
||||
{
|
||||
public class ReportStudentsViewModel
|
||||
{
|
||||
string StudentName { get; set; } = string.Empty;
|
||||
string ExaminationForm { get; set; } = string.Empty;
|
||||
MarkType mark { get; set; } = MarkType.Неизвестен;
|
||||
DateTime ExaminationResultDate { get; set; }
|
||||
int HoursCount { get; set; }
|
||||
DateTime StatementDate { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user