diff --git a/SecuritySystem/SecuritySystemContracts/BindingModels/OrderBindingModel.cs b/SecuritySystem/SecuritySystemContracts/BindingModels/OrderBindingModel.cs index 5bf8408..7411a2c 100644 --- a/SecuritySystem/SecuritySystemContracts/BindingModels/OrderBindingModel.cs +++ b/SecuritySystem/SecuritySystemContracts/BindingModels/OrderBindingModel.cs @@ -8,6 +8,7 @@ namespace SecuritySystemContracts.BindingModels public int Id { get; set; } public int SecureId { get; set; } public int ClientId { get; set; } + public int ImplementerId { get; set; } public int Count { get; set; } public double Sum { get; set; } public OrderStatus Status { get; set; } = OrderStatus.Неизвестен; diff --git a/SecuritySystem/SecuritySystemContracts/SearchModels/OrderSearchModel.cs b/SecuritySystem/SecuritySystemContracts/SearchModels/OrderSearchModel.cs index 143abf9..9d9142a 100644 --- a/SecuritySystem/SecuritySystemContracts/SearchModels/OrderSearchModel.cs +++ b/SecuritySystem/SecuritySystemContracts/SearchModels/OrderSearchModel.cs @@ -6,5 +6,6 @@ public DateTime? DateFrom { get; set; } public DateTime? DateTo { get; set; } public int? ClientId { get; set; } + public int? ImplementerId { get; set; } } } diff --git a/SecuritySystem/SecuritySystemContracts/ViewModels/OrderViewModel.cs b/SecuritySystem/SecuritySystemContracts/ViewModels/OrderViewModel.cs index 66b9796..9c31d36 100644 --- a/SecuritySystem/SecuritySystemContracts/ViewModels/OrderViewModel.cs +++ b/SecuritySystem/SecuritySystemContracts/ViewModels/OrderViewModel.cs @@ -10,6 +10,7 @@ namespace SecuritySystemContracts.ViewModels public int Id { get; set; } public int ClientId { get; set; } public int SecureId { get; set; } + public int ImplementerId { get; set; } [DisplayName("ФИО клиента")] public string ClientFIO { get; set; } = string.Empty; [DisplayName("Изделие")] diff --git a/SecuritySystem/SecuritySystemDataModels/Models/IOrderModel.cs b/SecuritySystem/SecuritySystemDataModels/Models/IOrderModel.cs index 89eaa62..4a4deab 100644 --- a/SecuritySystem/SecuritySystemDataModels/Models/IOrderModel.cs +++ b/SecuritySystem/SecuritySystemDataModels/Models/IOrderModel.cs @@ -6,6 +6,7 @@ namespace SecuritySystemDataModels.Models { int SecureId { get; } int ClientId { get; } + int ImplementerId { get; } int Count { get; } double Sum { get; } OrderStatus Status { get; }