PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicContracts/ViewModels/SymptomViewModel.cs

17 lines
589 B
C#

using PolyclinicDataModels.Models;
using System.ComponentModel;
namespace PolyclinicContracts.ViewModels
{
public class SymptomViewModel : ISymptomModel
{
[DisplayName("Название")]
public string Name { get; set; } = string.Empty;
[DisplayName("Комментарий")]
public string Comment { get; set; } = string.Empty;
public Dictionary<int, IDiagnosisModel> SymptomDiagnosis { get; set; } = new();
public Dictionary<int, IRecipeModel> SymptomRecipes { get; set; } = new();
public int Id { get; set; }
}
}