ComputerHardwareStore_YouAr.../ComputerHardwareStore/ComputerHardwareStoreContracts/BindingModels/OrderBindingModel.cs

16 lines
590 B
C#
Raw Normal View History

2024-04-25 22:38:28 +04:00
using ComputerHardwareStoreDataModels.Enums;
using ComputerHardwareStoreDataModels.Models;
2024-04-18 16:47:15 +04:00
namespace ComputerHardwareStoreContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
2024-04-29 20:51:55 +04:00
public double Sum { get; set; }
2024-04-18 16:47:15 +04:00
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
public DateTime DateCreate { get; set; } = DateTime.Now;
2024-04-29 20:51:55 +04:00
public DateTime? DateImplement { get; set; } = null;
2024-04-25 22:38:28 +04:00
public Dictionary<int, (IProductModel, int)> OrderProduct { get; set; } = new();
2024-04-18 16:47:15 +04:00
}
}