2024-02-05 21:23:00 +04:00
|
|
|
|
using IceCreamShopDataModels;
|
2024-02-07 12:09:42 +04:00
|
|
|
|
using IceCreamShopDataModels.Enums;
|
2024-02-05 21:23:00 +04:00
|
|
|
|
using IceCreamShopDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace IceCreamShopContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public int IceCreamId { get; set; }
|
2024-04-15 15:25:51 +04:00
|
|
|
|
public int ImplementerId { get; set; }
|
|
|
|
|
public int ClientId { get; set; }
|
2024-02-05 21:23:00 +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; }
|
|
|
|
|
}
|
|
|
|
|
}
|