PIbd-22_CourseWork_Hospital.../Polyclinic/HospitalContracts/ViewModels/RecipeViewModel.cs

19 lines
553 B
C#

using HospitalDataModels.Models;
using System.ComponentModel;
namespace HospitalContracts.ViewModels
{
public class RecipeViewModel : IRecipeModel
{
public int Id { get; set; }
[DisplayName("Количество процедур")]
public int ProceduresCount { get; set; }
[DisplayName("Комментарий")]
public string Comment { get; set; } = string.Empty;
public int? CourseId { get; set; }
public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new();
}
}