PIbd-21_MasenkinMS_Coursewo.../Hospital/HospitalContracts/BindingModels/MedicineBindingModel.cs

31 lines
800 B
C#
Raw Normal View History

2024-04-16 02:44:22 +04:00
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 MedicineBindingModel : IMedicineModel
{
/// <summary>
/// Идентификатор
/// </summary>
public int Id { get; set; }
/// <summary>
/// Название лекарства
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Описание лекарства
/// </summary>
public string? Description { get; set; }
}
}