Лена. изменила все названия классов рецептов на Recipe

This commit is contained in:
Елена Бакальская 2024-04-17 22:18:05 +04:00
parent f1834eb8c8
commit 45a6e55e63
5 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ namespace PolyclinicContracts.BindingModels
public int Id { get; set; } public int Id { get; set; }
public string Name { get; set; } = string.Empty; public string Name { get; set; } = string.Empty;
public string Comment { get; set; } = string.Empty; public string Comment { get; set; } = string.Empty;
public Dictionary<int, (IRecieptModel, int)> ProcedureReciept { get; set; } = new(); public Dictionary<int, (IRecipeModel, int)> ProcedureReciept { get; set; } = new();
} }
} }

View File

@ -7,12 +7,12 @@ using System.Threading.Tasks;
namespace PolyclinicContracts.BindingModels namespace PolyclinicContracts.BindingModels
{ {
public class RecieptBindingModel : IRecieptModel public class RecipeBindingModel : IRecipeModel
{ {
public int Id { get; set; } public int Id { get; set; }
public int CountProcedures { get; set; } public int CountProcedures { get; set; }
public string Comment { get; set; } = string.Empty; public string Comment { get; set; } = string.Empty;
public Dictionary<int, (ICourseModel, int)> RecieptCourse { get; set; } = new(); public Dictionary<int, (ICourseModel, int)> RecipeCourse { get; set; } = new();
} }
} }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace PolyclinicContracts.SearchModels namespace PolyclinicContracts.SearchModels
{ {
public class RecieptSearchModel public class RecipeSearchModel
{ {
public int? Id { get; set; } public int? Id { get; set; }
public int? CountProcedures { get; set; } public int? CountProcedures { get; set; }

View File

@ -10,7 +10,7 @@ namespace PolyclinicDataModels.Models
{ {
string Name { get; } string Name { get; }
string Comment { get; } string Comment { get; }
Dictionary<int, (IRecieptModel, int)> ProcedureReciept { get; } Dictionary<int, (IRecipeModel, int)> ProcedureReciept { get; }
} }
} }

View File

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