Поправил биндинг модели
This commit is contained in:
parent
452c558e21
commit
b3101ea169
@ -7,7 +7,6 @@ namespace PolyclinicContracts.BindingModels
|
|||||||
public int DaysCount { get; set; }
|
public int DaysCount { get; set; }
|
||||||
public int PillsPerDay { get; set; }
|
public int PillsPerDay { get; set; }
|
||||||
public string Comment { get; set; } = string.Empty;
|
public string Comment { get; set; } = string.Empty;
|
||||||
public int RecipeId { get; set; }
|
|
||||||
public Dictionary<int, IDiagnoseModel> CourseDiagnoses { get; set; } = new();
|
public Dictionary<int, IDiagnoseModel> CourseDiagnoses { get; set; } = new();
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ namespace PolyclinicContracts.BindingModels
|
|||||||
public class RecipeBindingModel : IRecipeModel
|
public class RecipeBindingModel : IRecipeModel
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
public int CourseId { get; set; }
|
||||||
public int ProceduresCount { get; set; }
|
public int ProceduresCount { get; set; }
|
||||||
public string Comment { get; set; } = string.Empty;
|
public string Comment { get; set; } = string.Empty;
|
||||||
public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new();
|
public Dictionary<int, IProcedureModel> RecipeProcedures { get; } = new();
|
||||||
|
Loading…
Reference in New Issue
Block a user