2024-04-27 13:01:57 +04:00
|
|
|
|
using ElectronicsShopDataModels.Enums;
|
|
|
|
|
using ElectronicsShopDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public int ID { get; set; }
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public int ClientID { get; set; }
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public int? EmployeeID { get; set; }
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public double Sum { get; set; }
|
|
|
|
|
|
|
|
|
|
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
|
2024-05-19 16:01:45 +04:00
|
|
|
|
}
|
2024-04-27 13:01:57 +04:00
|
|
|
|
}
|