PIbd-23_Polevoy_S.V._Flower.../FlowerShop/FlowerShopContracts/BindingModels/OrderBindingModel.cs

17 lines
529 B
C#
Raw Normal View History

using FlowerShopDataModels.Enums;
using FlowerShopDataModels.Models;
namespace FlowerShopContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public int ProductId { get; set; }
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; }
}
}