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

22 lines
755 B
C#
Raw Permalink Normal View History

2024-05-01 17:54:58 +04:00
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; }
}
}