ISEbd-22_CourseWork_School/School/SchoolContracts/ViewModels/RequirementViewModel.cs

21 lines
716 B
C#
Raw Permalink Normal View History

2024-05-01 17:54:58 +04:00
using SchoolDataModels;
using System.ComponentModel;
using SchoolDataModels.ProxyModels;
namespace SchoolContracts.ViewModels
{
public class RequirementViewModel : IRequirementModel
{
public int Id { get; set; }
public int ExecutorId { get; set; }
[DisplayName("Логин сотрудника")]
public string DirectorLogin { get; set; } = string.Empty;
[DisplayName("Наименование")]
public string NameOfRequirement { get; set; } = string.Empty;
[DisplayName("Стоимость")]
public double Price { get; set; }
public Dictionary<int, RequirementByDisciplineModel> DisciplinesModels { get; set; } = new();
}
}