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

24 lines
742 B
C#
Raw 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; }
2023-03-27 23:45:02 +04:00
public int ClientId { get; set; }
2023-04-11 09:29:12 +04:00
public int? ImplementerId { get; set; }
2023-02-13 20:43:19 +04:00
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; }
}
}