PIbd-22_Karamushko_M_K_Pizz.../Pizzeria/PizzeriaContracts/BindingModels/OrderBindingModel.cs

22 lines
652 B
C#
Raw Permalink Normal View History

2023-02-13 20:43:19 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PizzeriaDataModels;
namespace PizzeriaContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public int PizzaId { get; set; }
public int Count { get; set; }
public double Sum { get; set; }
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
2023-03-14 08:45:31 +04:00
public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
2023-02-13 20:43:19 +04:00
public DateTime? DateImplement { get; set; }
}
}