исправления

This commit is contained in:
Alenka 2024-04-27 22:21:37 +04:00
parent 575e573a38
commit 9e8c7b46d2
6 changed files with 8 additions and 11 deletions

View File

@ -15,7 +15,6 @@ namespace HospitalContracts.BindingModels
public double Price { get; set; }
public int Id { get; set; }
public int PharmacistId { get; set; }
public Dictionary<int, IProcedureModel> MedicineProcedures { get; set; } = new();
public Dictionary<int, IRecipeModel> MedicineRecipes { get; set; } = new();
}
}

View File

@ -19,8 +19,8 @@ namespace HospitalContracts.BindingModels
public int PharmacistId { get; set; }
public int Id { get; set; }
public Dictionary<int, IMedicineModel> MedicineProcedures { get; set; } = new();
public Dictionary<int, IPatientModel> PatientProcedures { get; set; } = new();
public Dictionary<int, IMedicineModel> ProcedureMedicines { get; set; } = new();
}
}

View File

@ -20,7 +20,6 @@ namespace HospitalContracts.ViewModels
[DisplayName("Фармацевт")]
public int PharmacistId { get; set; }
public Dictionary<int, IProcedureModel> MedicineProcedures { get; set; } = new();
public Dictionary<int, IRecipeModel> MedicineRecipes { get; set; } = new();
}
}

View File

@ -20,7 +20,7 @@ namespace HospitalContracts.ViewModels
public int PharmacistId { get; set; }
[DisplayName("Описание процедуры")]
public int DescriptionOfTheProcedureId { get; set; }
public Dictionary<int, IMedicineModel> MedicineProcedures { get; set; } = new();
public Dictionary<int, IPatientModel> PatientProcedures { get; set; } = new();
public Dictionary<int, IMedicineModel> ProcedureMedicines { get; set; } = new();
}
}

View File

@ -12,7 +12,6 @@ namespace HospitalDataModels.Models
string CountryOrigin { get; }
double Price { get; }
int PharmacistId { get; }
/*Dictionary<int, IProcedureModel> MedicineProcedures { get; }*/
Dictionary<int, IRecipeModel> MedicineRecipes { get; } //во всех сущностях проверить связи*/
}
}

View File

@ -14,7 +14,7 @@ namespace HospitalDataModels.Models
int PharmacistId { get; }
Dictionary<int, IMedicineModel> ProcedureMedicines { get; }
//Dictionary<int, IPatientModel> PatientProcedures { get; }//проверка коммита
}
}