модельки

This commit is contained in:
Alenka 2024-04-26 23:24:46 +04:00
parent 17756e6991
commit 139333ed95
3 changed files with 27 additions and 8 deletions

View File

@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HospitalDataModels.Models;
namespace HospitalContracts.BindingModels
{
public class ProcedureBindingModel : IProcedureModel
{
public string Name { get; set; } = string.Empty;
public DateTime Date { get; set; }
public int DescriptionOfTheProcedureId { get; set; }
public int PharmacistId { get; set; }
public int Id { get; set; }
public Dictionary<int, IMedicineModel> MedicineProcedures { get; set; } = new();
public Dictionary<int, IPatientModel> PatientProcedures { get; set; } = new();
}
}

View File

@ -1,7 +0,0 @@
namespace HospitalContracts
{
public class Class1
{
}
}

View File

@ -14,7 +14,7 @@ namespace HospitalDataModels.Models
int PharmacistId { get; }
Dictionary<int, IMedicineModel> MedicineProcedures { get; }
Dictionary<int, IPatientModel> PatientProcedure { get; }
Dictionary<int, IPatientModel> PatientProcedures { get; }
}
}