2023-01-31 12:54:51 +04:00
|
|
|
|
using ConfectioneryDataModels.Enums;
|
|
|
|
|
using ConfectioneryDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConfectioneryContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2023-02-14 00:08:23 +04:00
|
|
|
|
public int PastryId { get; set; }
|
2023-01-31 12:54:51 +04:00
|
|
|
|
|
2023-04-11 00:52:16 +04:00
|
|
|
|
public int ClientId { get; set; }
|
|
|
|
|
|
2023-05-03 23:15:51 +04:00
|
|
|
|
public int? ImplementerId { get; set; }
|
|
|
|
|
|
2023-01-31 12:54:51 +04:00
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
|
|
|
|
|
public double Sum { get; set; }
|
|
|
|
|
|
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
|
|
|
|
|
2023-03-14 11:35:28 +04:00
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
|
2023-01-31 12:54:51 +04:00
|
|
|
|
|
|
|
|
|
public DateTime? DateImplement { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|