Rogashova_E.A._CourseWork_H.../HospitalContracts/ViewModels/IllnessViewModel.cs

30 lines
779 B
C#
Raw Normal View History

using HospitalDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalContracts.ViewModels
{
public class IllnessViewModel: IIllnessModel
{
public int Id { get; set; }
[DisplayName("Название болезни")]
public string IllnessName { get; set; }
[DisplayName("Форма болезни")]
public string Form { get; set; }
public Dictionary<int, (ISymptomsModel, int)> IllnessSymptoms
{
get;
set;
} = new();
public Dictionary<int, (IKurseModel, int)> IllnessKurse
{
get;
set;
} = new();
}
}