2024-02-18 00:35:38 +04:00
|
|
|
|
using FoodOrdersDataModels.Enums;
|
|
|
|
|
using FoodOrdersDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace FoodOrdersContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public int DishId { get; set; }
|
2024-05-05 21:45:07 +04:00
|
|
|
|
|
2024-04-08 12:09:09 +04:00
|
|
|
|
public int ClientId { get; set; }
|
2024-02-18 00:35:38 +04:00
|
|
|
|
|
2024-05-05 21:45:07 +04:00
|
|
|
|
public int? ImplementerId { get; set; }
|
|
|
|
|
|
2024-02-18 00:35:38 +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; }
|
|
|
|
|
}
|
|
|
|
|
}
|