2024-04-24 18:34:15 +04:00
|
|
|
|
using PolyclinicDataModels.Models;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace PolyclinicContracts.ViewModels
|
|
|
|
|
{
|
2024-04-28 11:31:34 +04:00
|
|
|
|
public class RecipeViewModel : IRecipeModel
|
2024-04-24 18:34:15 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-04-28 20:05:31 +04:00
|
|
|
|
|
2024-04-24 18:34:15 +04:00
|
|
|
|
[DisplayName("Количество процедур")]
|
2024-04-27 23:14:58 +04:00
|
|
|
|
public int ProceduresCount { get; set; }
|
2024-04-28 20:05:31 +04:00
|
|
|
|
|
2024-04-24 18:34:15 +04:00
|
|
|
|
[DisplayName("Комментарий")]
|
2024-05-28 19:59:22 +04:00
|
|
|
|
public string? Comment { get; set; } = string.Empty;
|
2024-05-27 21:53:53 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Номер курса")]
|
2024-05-01 00:29:07 +04:00
|
|
|
|
public int? CourseId { get; set; }
|
2024-04-30 16:20:00 +04:00
|
|
|
|
public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new();
|
2024-04-24 18:34:15 +04:00
|
|
|
|
}
|
|
|
|
|
}
|