пошаманил с дисциплиной (немного)
This commit is contained in:
parent
3535087e69
commit
e037e11a64
@ -15,6 +15,7 @@ namespace UniversityContracts.BindingModels
|
|||||||
public int TeacherId { get; set; }
|
public int TeacherId { get; set; }
|
||||||
public string Name { get; set; } = string.Empty;
|
public string Name { get; set; } = string.Empty;
|
||||||
public string Description { get; set; } = string.Empty;
|
public string Description { get; set; } = string.Empty;
|
||||||
|
public DateOnly Date { get; set; } = DateOnly.FromDateTime(DateTime.Now);
|
||||||
public Dictionary<int, IStudentModel> StudentDisciplines { get; set; } = new();
|
public Dictionary<int, IStudentModel> StudentDisciplines { get; set; } = new();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,8 @@ namespace UniversityContracts.ViewModels
|
|||||||
public string Name { get; set; } = string.Empty;
|
public string Name { get; set; } = string.Empty;
|
||||||
[DisplayName("Описание дисциплины")]
|
[DisplayName("Описание дисциплины")]
|
||||||
public string Description { get; set; } = string.Empty;
|
public string Description { get; set; } = string.Empty;
|
||||||
|
[DisplayName("Дата cоздания")]
|
||||||
|
public DateOnly Date { get; set; } = DateOnly.FromDateTime(DateTime.Now);
|
||||||
public Dictionary<int, IStudentModel> StudentDisciplines
|
public Dictionary<int, IStudentModel> StudentDisciplines
|
||||||
{
|
{
|
||||||
get;
|
get;
|
||||||
|
Loading…
Reference in New Issue
Block a user