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 StudentsModel { get; set; } = new(); public List RequirementsModel { get; set; } = new(); public int Id { get; set; } } }