From cba5b48efb6c98b256400d8b38cf8f4d4fa4f90a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=A4=D0=B5=D0=B4=D0=BE=D1=82?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Sun, 19 May 2024 15:08:56 +0400 Subject: [PATCH] Order model redoing --- .../ElectronicsShopDataModels/Models/IOrderModel.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ElectronicsShop/ElectronicsShopDataModels/Models/IOrderModel.cs b/ElectronicsShop/ElectronicsShopDataModels/Models/IOrderModel.cs index 3269c88..816c3dc 100644 --- a/ElectronicsShop/ElectronicsShopDataModels/Models/IOrderModel.cs +++ b/ElectronicsShop/ElectronicsShopDataModels/Models/IOrderModel.cs @@ -9,13 +9,15 @@ namespace ElectronicsShopDataModels.Models { public interface IOrderModel : IID { - double Sum { get; } int UserID { get; } - OrderStatus Status { get; } + int ImplementerID { get; } + int PaymentID { get; } + OrderStatus OrderStatus { get; } PaymeantOption PaymeantOption { get; } DateTime DateCreate { get; } DateTime? DateImplement { get; } - //список товаров в заказе - Dictionary ProductList { get; } + double Sum { get; } + //список товаров в заказе + Dictionary ProductList { get; } } }