CourseWork_University/University/UniversityContracts/BindingModels/DisciplineBindingModel.cs

22 lines
770 B
C#

using System.ComponentModel;
using UniversityDataModels;
using UniversityDataModels.ProxyModels;
namespace UniversityContracts.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, ClientByDisciplineModel> ClientsModel { get; set; } = new();
public List<RequirementByDisciplineModel> RequirementsModel { get; set; } = new();
public int Id { get; set; }
}
}