CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/BindingModels/OrderBindingModel.cs

29 lines
788 B
C#
Raw Normal View History

2024-04-27 13:01:57 +04:00
using ElectronicsShopDataModels.Enums;
using ElectronicsShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int ID { get; set; }
public double Sum { get; set; }
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
public PaymeantOption PaymeantOption { get; set; } = PaymeantOption.Неизвестно;
public DateTime DateCreate { get; set; } = DateTime.Now;
2024-04-29 01:28:41 +04:00
public DateTime? DateImplement { get; set; }
2024-04-27 13:01:57 +04:00
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
}
}