40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using HospitalDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HospitalContracts.BindingModels
|
|
{
|
|
/// <summary>
|
|
/// Модель привязки для сущности "Процедура"
|
|
/// </summary>
|
|
public class ProcedureBindingModel : IProcedureModel
|
|
{
|
|
/// <summary>
|
|
/// Идентификатор
|
|
/// </summary>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Название процедуры
|
|
/// </summary>
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Описание процедуры
|
|
/// </summary>
|
|
public string? Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// Список лекарств для процедуры
|
|
/// </summary>
|
|
public Dictionary<int, IMedicineModel> ProcedureMedicines
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
}
|
|
}
|