2023-01-29 18:15:14 +04:00
|
|
|
|
using FlowerShopDataModels.Enums;
|
|
|
|
|
using FlowerShopDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace FlowerShopContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2023-01-29 18:59:33 +04:00
|
|
|
|
public int BouquetId { get; set; }
|
2023-01-29 18:15:14 +04:00
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
public double Sum { get; set; }
|
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Unknown;
|
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
|
|
|
public DateTime? DateImplement { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|