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 21:02:41 +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 21:02:41 +04:00
|
|
|
|
public DateTime? DateImplement { get; set; } = null;
|
2024-04-30 17:05:42 +04:00
|
|
|
|
public Dictionary<int, (IProductModel, int)> OrderProducts { get; set; } = new();
|
2024-04-18 16:47:15 +04:00
|
|
|
|
}
|
|
|
|
|
}
|