Rogashova_E.A._CourseWork_H.../HospitalContracts/BindingModels/RecipesBindingModel.cs

31 lines
800 B
C#

using HospitalDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalContracts.BindingModels
{
public class RecipesBindingModel: IRecipesModel
{
public int Id { get; set; }
public string Dose { get; set; } = string.Empty;
public DateTime Date { get; set; } = DateTime.Now;
public string ModeOfApplication { get; set; } = string.Empty;
public int MedicinesId { get; set; }
public Dictionary<int, (ISymptomsModel, int)> SymptomsRecipe
{
get;
set;
} = new();
public Dictionary<int, (IProceduresModel, int)> ProceduresRecipe
{
get;
set;
} = new();
}
}