Никита. Создал классы-интерфейсы моделей

This commit is contained in:
Никита Потапов 2024-04-17 23:12:10 +04:00
parent 95bc89fd29
commit e9484f9482
4 changed files with 29 additions and 0 deletions

View 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; }
}
}

View File

@ -0,0 +1,8 @@
namespace PolyclinicDataModels.Models
{
public interface IDiagnosisModel
{
string Name { get; }
string Comment { get; }
}
}

View 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; }
}
}