Лена. изменила названия классам моделям, добавила словари для связей многие ко многим

This commit is contained in:
ekallin 2024-04-17 21:55:50 +04:00
parent 660fd6cf29
commit 59f17e0eef
4 changed files with 9 additions and 5 deletions

View File

@ -6,9 +6,11 @@ using System.Threading.Tasks;
namespace PolyclinicDataModels.Models
{
public interface IProcedure : IId
public interface IMedicamentModel : IId
{
string Name { get; }
string Comment { get; }
Dictionary<int, (ISymptomModel, int)> MedicamentSymptom { get; }
Dictionary<int, (IProcedureModel, int)> MedicamentProcedure { get; }
}
}

View File

@ -6,9 +6,11 @@ using System.Threading.Tasks;
namespace PolyclinicDataModels.Models
{
public interface IMedicament : IId
public interface IProcedureModel : IId
{
string Name { get; }
string Comment { get; }
Dictionary<int, (IRecieptModel, int)> ProcedureReciept { get; }
}
}

View File

@ -6,10 +6,10 @@ using System.Threading.Tasks;
namespace PolyclinicDataModels.Models
{
public interface IReciept : IId
public interface IRecieptModel : IId
{
int CountProcedures { get; set; }
string Comment { get; set; }
Dictionary<int, (ICourseModel, int)> RecieptCourse { get; }
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace PolyclinicDataModels.Models
{
public interface ISuretor : IId
public interface ISuretorModel : IId
{
string FIO { get; }
DateTime BirthDay { get; }