Order model redoing

This commit is contained in:
Илья Федотов 2024-05-19 15:08:56 +04:00
parent b007290469
commit cba5b48efb

View File

@ -9,12 +9,14 @@ namespace ElectronicsShopDataModels.Models
{ {
public interface IOrderModel : IID public interface IOrderModel : IID
{ {
double Sum { get; }
int UserID { get; } int UserID { get; }
OrderStatus Status { get; } int ImplementerID { get; }
int PaymentID { get; }
OrderStatus OrderStatus { get; }
PaymeantOption PaymeantOption { get; } PaymeantOption PaymeantOption { get; }
DateTime DateCreate { get; } DateTime DateCreate { get; }
DateTime? DateImplement { get; } DateTime? DateImplement { get; }
double Sum { get; }
//список товаров в заказе //список товаров в заказе
Dictionary<int, (IProductModel, int)> ProductList { get; } Dictionary<int, (IProductModel, int)> ProductList { get; }
} }