This commit is contained in:
MaxKarme 2023-04-08 23:18:02 +04:00
commit a15ead57dd
6 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,12 @@
using UniversityContracts.ViewModels;
namespace UniversityContracts.BindingModels
{
public class ReportBindingModel
{
public string? FileName { get; set; } = string.Empty;
public DateTime? From { get; set; }
public DateTime? To { get; set; }
public List<StudentViewModel> Students { get; set; } = new();
}
}

View File

@ -0,0 +1,10 @@
using UniversityContracts.BindingModels;
using UniversityContracts.ViewModels;
namespace UniversityContracts.BuisnessLogicContracts
{
public interface IReportLogic
{
List<ReportStudentDisciplineViewModel> GetStudentDiscipline(ReportBindingModel model);
}
}

View File

@ -0,0 +1,8 @@
namespace UniversityContracts.ViewModels
{
public class ReportStudentDisciplineViewModel
{
public string StudentName { get; set; } = string.Empty;
public List<string> Disciplines { get; set; } = new();
}
}

View File

@ -4,5 +4,6 @@
{
String Name { get; }
String Department { get; }
int StatementId { get; }
}
}

View File

@ -4,6 +4,5 @@
{
DateTime Date { get; }
int HoursCount { get; }
Dictionary<int, IStudentModel> Students { get; }
}
}

View File

@ -5,5 +5,6 @@
String Name { get; }
String RecordCardNumber { get; }
Dictionary<int, IExaminationResultModel> Results { get; }
Dictionary<int, IStatementModel> Statements { get; }
}
}