stage5_models_and_storages_contracts_lena #2

Merged
ekallin merged 11 commits from stage5_models_and_storages_contracts_lena into stage5_models_and_storages_contracts 2024-04-27 10:36:38 +04:00
4 changed files with 10 additions and 4 deletions
Showing only changes of commit f1834eb8c8 - Show all commits

View File

@ -7,10 +7,12 @@ using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class MedicamentBindingModel : IMedicament
public class MedicamentBindingModel : IMedicamentModel
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Comment { get; set; } = string.Empty;
public Dictionary<int, (ISymptomModel, int)> MedicamentSymptom { get; set; } = new();
public Dictionary<int, (IProcedureModel, int)> MedicamentProcedure { get; set; } = new();
}
}

View File

@ -7,10 +7,12 @@ using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class ProcedureBindingModel : IProcedure
public class ProcedureBindingModel : IProcedureModel
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Comment { get; set; } = string.Empty;
public Dictionary<int, (IRecieptModel, int)> ProcedureReciept { get; set; } = new();
}
}

View File

@ -7,10 +7,12 @@ using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class RecieptBindingModel : IReciept
public class RecieptBindingModel : IRecieptModel
{
public int Id { get; set; }
public int CountProcedures { get; set; }
public string Comment { get; set; } = string.Empty;
public Dictionary<int, (ICourseModel, int)> RecieptCourse { get; set; } = new();
}
}

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels
{
public class SuretorBindingModel : ISuretor
public class SuretorBindingModel : ISuretorModel
{
public int Id { get; set; }
public string FIO { get; set; } = string.Empty;