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

18 lines
654 B
C#
Raw Permalink 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-05-30 07:44:40 +04:00
//public Dictionary<int, (IProductModel, int)> OrderProducts { get; set; } = new();
public int ProductId { get; set; }
public int Count { get; set; }
}
2024-04-18 16:47:15 +04:00
}