PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/BindingModels/OrderBindingModel.cs

21 lines
639 B
C#
Raw Normal View History

2024-05-22 12:35:35 +04:00
using System;
using PizzeriaDataModels.Enums;
2024-02-28 01:32:56 +04:00
using PizzeriaDataModels.Models;
namespace PizzeriaContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
2024-03-11 00:29:19 +04:00
public int PizzaId { get; set; }
2024-05-07 23:20:02 +04:00
public int ClientId { get; set; }
2024-06-21 14:39:07 +04:00
public int? ImplementerId { get; set; }
2024-02-28 01:32:56 +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; }
}
}