21 lines
716 B
C#
21 lines
716 B
C#
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();
|
|
}
|
|
}
|