finalized report

This commit is contained in:
MaxKarme 2023-04-09 00:26:13 +04:00
parent 3a8864eed5
commit 53703e0fd6
2 changed files with 20 additions and 1 deletions

View File

@ -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();
}
}

View File

@ -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; }
}
}