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 ProcedureViewModel : IProcedureModel
|
2024-04-24 18:34:15 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-04-28 18:13:52 +04:00
|
|
|
|
public int UserId { get; set; }
|
2024-04-24 18:34:15 +04:00
|
|
|
|
[DisplayName("Название процедуры")]
|
2024-04-28 12:12:39 +04:00
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2024-04-24 18:34:15 +04:00
|
|
|
|
[DisplayName("Комментарий")]
|
2024-04-28 12:12:39 +04:00
|
|
|
|
public string Comment { get; set; } = string.Empty;
|
2024-04-28 18:13:52 +04:00
|
|
|
|
public Dictionary<int, IRecipeModel> ProcedureRecipes { get; set; } = new();
|
2024-04-24 18:34:15 +04:00
|
|
|
|
}
|
|
|
|
|
}
|