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

24 lines
671 B
C#
Raw Normal View History

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