2024-02-10 13:06:58 +04:00
|
|
|
|
using IceCreamShopDataModels.Enums;
|
|
|
|
|
using IceCreamShopDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace IceCreamShopContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public int IceCreamId { get; set; }
|
|
|
|
|
|
2024-04-07 18:18:58 +04:00
|
|
|
|
public int ClientId { get; set; }
|
|
|
|
|
|
2024-02-10 13:06:58 +04:00
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
|
|
|
|
|
public double Sum { get; set; }
|
|
|
|
|
|
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
|
|
|
|
|
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
public DateTime? DateImplement { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|