24 lines
671 B
C#
24 lines
671 B
C#
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();
|
|
}
|
|
}
|