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

19 lines
556 B
C#
Raw Normal View History

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