ISEbd-22_CourseWork_School/School/SchoolContracts/BindingModels/DisciplineBindingModel.cs

22 lines
755 B
C#

using System.ComponentModel;
using SchoolDataModels;
using SchoolDataModels.Models;
namespace SchoolContracts.BindingModels
{
public class DisciplineBindingModel : IDisciplineModel
{
public int ImplementerId { get; set; }
public string Name { get; set; } = string.Empty;
public double Price { get; set; }
public DateOnly DateOfReceipt { get; set; } = DateOnly.FromDateTime(DateTime.Now);
public DateOnly DateOfPassage { get; set; } = DateOnly.FromDateTime(DateTime.Now);
public Dictionary<int, StudentByDisciplineModel> StudentsModel { get; set; } = new();
public List<RequirementByDisciplineModel> RequirementsModel { get; set; } = new();
public int Id { get; set; }
}
}