2024-04-27 12:58:16 +04:00
|
|
|
|
using ElectronicsShopDataModels.Enums;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopDataModels.Models
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderModel : IID
|
|
|
|
|
{
|
2024-04-29 19:34:14 +04:00
|
|
|
|
int UserID { get; }
|
2024-05-19 16:01:45 +04:00
|
|
|
|
int? ImplementerID { get; }
|
2024-05-19 15:08:56 +04:00
|
|
|
|
int PaymentID { get; }
|
2024-05-19 16:01:45 +04:00
|
|
|
|
OrderStatus Status { get; }
|
2024-04-27 12:58:16 +04:00
|
|
|
|
PaymeantOption PaymeantOption { get; }
|
|
|
|
|
DateTime DateCreate { get; }
|
2024-04-29 01:28:41 +04:00
|
|
|
|
DateTime? DateImplement { get; }
|
2024-05-19 15:08:56 +04:00
|
|
|
|
double Sum { get; }
|
|
|
|
|
//список товаров в заказе
|
|
|
|
|
Dictionary<int, (IProductModel, int)> ProductList { get; }
|
2024-04-27 12:58:16 +04:00
|
|
|
|
}
|
|
|
|
|
}
|