PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/BindingModels/OrderBindingModel.cs

18 lines
537 B
C#
Raw Normal View History

2024-02-28 01:32:56 +04:00
using PizzeriaDataModels.Enums;
using PizzeriaDataModels.Models;
namespace PizzeriaContracts.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.Неизвестен;
public DateTime DateCreate { get; set; } = DateTime.Now;
public DateTime? DateImplement { get; set; }
}
}