PIbd-21_Zaharchenko_M.I._Pi.../Pizzeria/PizzeriaContracts/BindingModels/OrderBindingModel.cs

17 lines
534 B
C#
Raw Normal View History

2023-02-16 08:52:03 +04:00
using PizzeriaDataModels.Enums;
using PizzeriaDataModels.Models;
2023-02-12 20:11:02 +04:00
2023-02-16 08:52:03 +04:00
namespace PizzeriaContracts.BindingModels
2023-02-12 20:11:02 +04:00
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
2023-02-16 08:52:03 +04:00
public int PizzaId { get; set; }
2023-02-12 20:11:02 +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; }
}
}