ISEbd-21_Khaliullov_R.A._Co.../Canteen/CanteenContracts/BindingModels/OrderBindingModel.cs

25 lines
777 B
C#
Raw Permalink Normal View History

2024-04-30 18:48:42 +04:00
using CanteenDataModels.Enums;
using CanteenDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public int ClientId { get; set; }
public int? CookId { get; set; }
public int DishId { get; set; }
public int DishCount { get; set; }
public double OrderPrice { get; set; }
public OrderStatus OrderStatus { get; set; } = OrderStatus.Неизвестен;
public PaymentStatus PaymentStatus { get; set; } = PaymentStatus.Неизвестно;
public DateTime DateCreate { get; set; } = DateTime.Now;
public DateTime? DateImplement { get; set; }
}
}