Никита. Создал классы-интерфейсы моделей
This commit is contained in:
parent
95bc89fd29
commit
e9484f9482
11
Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs
Normal file
11
Polyclinic/PolyclinicDataModels/Models/ICourseModel.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace PolyclinicDataModels.Models
|
||||
{
|
||||
public interface ICourseModel
|
||||
{
|
||||
int DaysCount { get; }
|
||||
int PillsPerDay { get; }
|
||||
string Comment { get; }
|
||||
Dictionary<int, IDiagnosisModel> CourseDiagnosis { get; }
|
||||
Dictionary<int, IRecipeModel> CourseRecipes { get; }
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
namespace PolyclinicDataModels.Models
|
||||
{
|
||||
public interface IDiagnosisModel
|
||||
{
|
||||
string Name { get; }
|
||||
string Comment { get; }
|
||||
}
|
||||
}
|
10
Polyclinic/PolyclinicDataModels/Models/ISymptomModel.cs
Normal file
10
Polyclinic/PolyclinicDataModels/Models/ISymptomModel.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace PolyclinicDataModels.Models
|
||||
{
|
||||
public interface ISymptomModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Comment { get; }
|
||||
Dictionary<int, IDiagnosisModel> SymptomDiagnosis { get; }
|
||||
Dictionary<int, IRecipeModel> SymptomRecipes { get; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user