This commit is contained in:
MaxKarme 2023-04-09 01:07:44 +04:00
commit 53fe0986cf
5 changed files with 23 additions and 2 deletions

View File

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

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

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

View File

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

View File

@ -4,6 +4,6 @@
{
String Name { get; }
String Department { get; }
int StatementId { get; }
Dictionary<int, IStatementModel> DisciplineStatements { get; }
}
}