This commit is contained in:
MaxKarme 2023-04-04 22:01:18 +04:00
commit fb0fcd5c18
6 changed files with 15 additions and 24 deletions

View File

@ -2,10 +2,8 @@
namespace UniversityContracts.SearchModels
{
public class ActivitySearchModel : IActivityModel
public class ActivitySearchModel
{
public int Id { get; set; }
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int Number { get; set; }
public int? Id { get; set; }
}
}

View File

@ -2,10 +2,9 @@
namespace UniversityContracts.SearchModels
{
public class DisciplineSearchModel : IDisciplineModel
public class DisciplineSearchModel
{
public int Id { get; set; }
public string Name { get; set; } = String.Empty;
public string Department { get; set; } = String.Empty;
public int? Id { get; set; }
public string? Name { get; set; }
}
}

View File

@ -3,11 +3,8 @@ using UniversityDataModels.Models;
namespace UniversityContracts.SearchModels
{
public class ExaminationResultSearchModel : IExaminationResultModel
public class ExaminationResultSearchModel
{
public int Id { get; set; }
public string ExaminationForm { get; set; } = String.Empty;
public MarkType Mark { get; set; } = MarkType.Неизвестен;
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int? Id { get; set; }
}
}

View File

@ -2,9 +2,9 @@
namespace UniversityContracts.SearchModels
{
public class ReportTypeSearchModel : IReportTypeModel
public class ReportTypeSearchModel
{
public int Id { get; set; }
public string Name { get; set; } = String.Empty;
public int? Id { get; set; }
public string? Name { get; set; }
}
}

View File

@ -2,10 +2,8 @@
namespace UniversityContracts.SearchModels
{
public class StatementSearchModel : IStatementModel
public class StatementSearchModel
{
public int Id { get; set; }
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int HoursCount { get; set; }
public int? Id { get; set; }
}
}

View File

@ -2,10 +2,9 @@
namespace UniversityContracts.SearchModels
{
public class StudentSearchModel : IStudentModel
public class StudentSearchModel
{
public int Id { get; set; }
public string Name { get; set; } = String.Empty;
public string RecordCardNumber { get; set; } = String.Empty;
public int? Id { get; set; }
public string? Name { get; set; }
}
}