PIbd-22_Aleikin_A.M._Confec.../Confectionery/ConfectioneryContracts/BindingModels/OrderBindingModel.cs

32 lines
804 B
C#
Raw Permalink Normal View History

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; }
public int PastryId { get; set; }
2023-01-31 12:54:51 +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; }
}
}