From 6716b74d720d31a6e4616e568b8617fc7d0bc07f Mon Sep 17 00:00:00 2001 From: VictoriaPresnyakova Date: Sat, 1 Apr 2023 20:47:44 +0400 Subject: [PATCH] binding model + client --- JewelryStoreContracts/BindingModels/OrderBindingModel.cs | 2 +- JewelryStoreListImplement/Models/Order.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/JewelryStoreContracts/BindingModels/OrderBindingModel.cs b/JewelryStoreContracts/BindingModels/OrderBindingModel.cs index 77ed89e..2a10978 100644 --- a/JewelryStoreContracts/BindingModels/OrderBindingModel.cs +++ b/JewelryStoreContracts/BindingModels/OrderBindingModel.cs @@ -14,7 +14,7 @@ namespace JewelryStoreContracts.BindingModels public int JewelId { get; set; } public int ClientId { get; set; } - public string JewelName { get; set; } = string.Empty; + public string JewelName { get; set; } public int Count { get; set; } public double Sum { get; set; } public OrderStatus Status { get; set; } = OrderStatus.Неизвестен; diff --git a/JewelryStoreListImplement/Models/Order.cs b/JewelryStoreListImplement/Models/Order.cs index 12349c8..3fd4119 100644 --- a/JewelryStoreListImplement/Models/Order.cs +++ b/JewelryStoreListImplement/Models/Order.cs @@ -14,6 +14,8 @@ namespace JewelryStoreListImplement.Models { public int JewelId { get; private set; } public string JewelName { get; private set; } + public int ClientId { get; private set; } + public int Count { get; private set; }