PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicContracts/ViewModels/ProcedureViewModel.cs

16 lines
526 B
C#
Raw Normal View History

using PolyclinicDataModels.Models;
using System.ComponentModel;
namespace PolyclinicContracts.ViewModels
{
public class ProcedureViewModel : IProcedureModel
{
public int Id { get; set; }
[DisplayName("Название процедуры")]
public string Name { get; set; } = string.Empty;
[DisplayName("Комментарий")]
public string Comment { get; set; } = string.Empty;
public Dictionary<int, ICourseModel> ProcedureCourses { get; set; } = new();
}
}