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

18 lines
510 B
C#

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