вливаю всё, что было создано на 5, 6, 7 этапах в ветку main #12

Merged
ekallin merged 180 commits from stage7_user_web_interface_prototype into main 2024-05-01 19:15:20 +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;