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

28 lines
712 B
C#
Raw 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 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; }
}
}