2024-04-24 18:34:15 +04:00
|
|
|
|
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("Количество процедур")]
|
2024-04-27 23:14:58 +04:00
|
|
|
|
public int ProceduresCount { get; set; }
|
2024-04-24 18:34:15 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Комментарий")]
|
|
|
|
|
public string Comment { get; set; } = string.Empty;
|
|
|
|
|
public Dictionary<int, IRecipeModel> ProcedureRecipe { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|