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

19 lines
624 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-03-26 19:05:49 +04:00
public int ClientId { get; set; }
2023-02-16 08:52:03 +04:00
public int PizzaId { get; set; }
2023-04-18 10:41:11 +04:00
public int? ImplementerId { 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; }
}
}