21 lines
606 B
C#
21 lines
606 B
C#
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;
|
|
|
|
[DisplayName("Номер курса")]
|
|
public int? CourseId { get; set; }
|
|
public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new();
|
|
}
|
|
}
|