2024-02-01 10:43:41 +04:00
|
|
|
|
using PizzeriaDataModels.Enums;
|
|
|
|
|
using PizzeriaDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace PizzeriaContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public int PizzaId { get; set; }
|
2024-03-21 13:21:25 +04:00
|
|
|
|
public int ClientId { get; set; }
|
2024-03-28 21:32:49 +04:00
|
|
|
|
public int? ImplementerId { get; set; }
|
2024-02-01 10:43:41 +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; }
|
|
|
|
|
}
|
|
|
|
|
}
|