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; }
|
|
|
|
|
public int CannedId { get; set; }
|
|
|
|
|
public int Count { get; set; }
|
2024-04-25 22:38:28 +04:00
|
|
|
|
public double Cost { get; set; }
|
2024-04-18 16:47:15 +04:00
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
|
|
|
public DateTime? DateImplement { get; set; }
|
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
|
|
|
|
}
|
|
|
|
|
}
|