Лена. изменила названия классам моделям, добавила словари для связей многие ко многим
This commit is contained in:
parent
660fd6cf29
commit
59f17e0eef
@ -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; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
@ -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; }
|
Loading…
Reference in New Issue
Block a user