25 lines
777 B
C#
25 lines
777 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|