32 lines
878 B
C#
32 lines
878 B
C#
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; }
|
|
public Dictionary<int, (IMedicinesModel, int)> MedicinesRecipe
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
public Dictionary<int, (IProceduresModel, int)> ProceduresRecipe
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
}
|
|
}
|