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

36 lines
1.0 KiB
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 RecipesViewModel: IRecipesModel
{
public int Id { get; set; }
[DisplayName("Доза")]
public string Dose { get; set; }
[DisplayName("Дата выписки")]
public DateTime Date { get; set; }
[DisplayName("Способ приготовления")]
public string ModeOfApplication { get; set; }
[DisplayName("Лекарство")]
public int MedicinesId { get; set; }
[DisplayName("Симптом")]
2023-04-05 23:24:58 +04:00
public Dictionary<int, (ISymptomsModel, int)> RecipeSymptoms
{
get;
set;
} = new();
[DisplayName("Процедура")]
2023-04-05 23:24:58 +04:00
public Dictionary<int, (IProceduresModel, int)> RecipeProcedures
{
get;
set;
} = new();
}
}