From e9484f948292612420ecd305b414874c7d88b63f Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Wed, 17 Apr 2024 23:12:10 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0.=20=D0=A1?= =?UTF-8?q?=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81?= =?UTF-8?q?=D1=8B-=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81?= =?UTF-8?q?=D1=8B=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Polyclinic/PolyclinicDataModels/Models/.gitkeep | 0 .../PolyclinicDataModels/Models/ICourseModel.cs | 11 +++++++++++ .../PolyclinicDataModels/Models/IDiagnosisModel.cs | 8 ++++++++ .../PolyclinicDataModels/Models/ISymptomModel.cs | 10 ++++++++++ 4 files changed, 29 insertions(+) delete mode 100644 Polyclinic/PolyclinicDataModels/Models/.gitkeep create mode 100644 Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs create mode 100644 Polyclinic/PolyclinicDataModels/Models/IDiagnosisModel.cs create mode 100644 Polyclinic/PolyclinicDataModels/Models/ISymptomModel.cs diff --git a/Polyclinic/PolyclinicDataModels/Models/.gitkeep b/Polyclinic/PolyclinicDataModels/Models/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs b/Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs new file mode 100644 index 0000000..acd5ed7 --- /dev/null +++ b/Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs @@ -0,0 +1,11 @@ +namespace PolyclinicDataModels.Models +{ + public interface ICourseModel + { + int DaysCount { get; } + int PillsPerDay { get; } + string Comment { get; } + Dictionary CourseDiagnosis { get; } + Dictionary CourseRecipes { get; } + } +} diff --git a/Polyclinic/PolyclinicDataModels/Models/IDiagnosisModel.cs b/Polyclinic/PolyclinicDataModels/Models/IDiagnosisModel.cs new file mode 100644 index 0000000..d46440b --- /dev/null +++ b/Polyclinic/PolyclinicDataModels/Models/IDiagnosisModel.cs @@ -0,0 +1,8 @@ +namespace PolyclinicDataModels.Models +{ + public interface IDiagnosisModel + { + string Name { get; } + string Comment { get; } + } +} diff --git a/Polyclinic/PolyclinicDataModels/Models/ISymptomModel.cs b/Polyclinic/PolyclinicDataModels/Models/ISymptomModel.cs new file mode 100644 index 0000000..64a9988 --- /dev/null +++ b/Polyclinic/PolyclinicDataModels/Models/ISymptomModel.cs @@ -0,0 +1,10 @@ +namespace PolyclinicDataModels.Models +{ + public interface ISymptomModel : IId + { + string Name { get; } + string Comment { get; } + Dictionary SymptomDiagnosis { get; } + Dictionary SymptomRecipes { get; } + } +}