2023-04-05 00:33:37 +04:00
|
|
|
|
using HospitalDataModels.Models;
|
|
|
|
|
using System;
|
2023-04-04 09:51:08 +04:00
|
|
|
|
using System.Collections.Generic;
|
2023-04-05 00:33:37 +04:00
|
|
|
|
using System.ComponentModel;
|
2023-04-04 09:51:08 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace HospitalContracts.ViewModels
|
|
|
|
|
{
|
2023-04-05 00:33:37 +04:00
|
|
|
|
public class IllnessViewModel: IIllnessModel
|
2023-04-04 09:51:08 +04:00
|
|
|
|
{
|
2023-04-05 00:33:37 +04:00
|
|
|
|
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();
|
2023-04-04 09:51:08 +04:00
|
|
|
|
}
|
|
|
|
|
}
|