36 lines
933 B
C#
36 lines
933 B
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 DiseaseBindingModel : IDiseaseModel
|
|
{
|
|
/// <summary>
|
|
/// Идентификатор
|
|
/// </summary>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Название болезни
|
|
/// </summary>
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Симптомы заболевания
|
|
/// </summary>
|
|
public string? Symptoms { get; set; }
|
|
|
|
/// <summary>
|
|
/// Идентификатор рецепта
|
|
/// </summary>
|
|
public int RecipeId { get; set; }
|
|
}
|
|
}
|