change dictionaries in contracts

This commit is contained in:
MaxKarme 2023-04-08 23:20:25 +04:00
parent 59e6a1418f
commit c863490d68
6 changed files with 4 additions and 2 deletions

View File

@ -7,5 +7,6 @@ namespace UniversityContracts.BindingModels
public int Id { get; set; }
public string Name { get; set; } = String.Empty;
public string Department { get; set; } = String.Empty;
public int StatementId { get; set; }
}
}

View File

@ -7,6 +7,5 @@ namespace UniversityContracts.BindingModels
public int Id { get; set; }
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int HoursCount { get; set; }
public Dictionary<int, IStudentModel> Students { get; set; } = new();
}
}

View File

@ -8,5 +8,6 @@ namespace UniversityContracts.BindingModels
public string Name { get; set; } = String.Empty;
public string RecordCardNumber { get; set; } = String.Empty;
public Dictionary<int, IExaminationResultModel> Results { get; set; } = new();
public Dictionary<int, IStatementModel> Statements { get; set; } = new();
}
}

View File

@ -7,5 +7,6 @@ namespace UniversityContracts.ViewModels
public int Id { get; set; }
public string Name { get; set; } = String.Empty;
public string Department { get; set; } = String.Empty;
public int StatementId { get; set; }
}
}

View File

@ -7,6 +7,5 @@ namespace UniversityContracts.ViewModels
public int Id { get; set; }
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int HoursCount { get; set; }
public Dictionary<int, IStudentModel> Students { get; set; } = new();
}
}

View File

@ -8,5 +8,6 @@ namespace UniversityContracts.ViewModels
public string Name { get; set; } = String.Empty;
public string RecordCardNumber { get; set; } = String.Empty;
public Dictionary<int, IExaminationResultModel> Results { get; set; } = new();
public Dictionary<int, IStatementModel> Statements { get; set; } = new();
}
}