26 lines
601 B
C#
26 lines
601 B
C#
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
|
|
{
|
|
public int ID { get; set; }
|
|
|
|
public int ClientID { get; set; }
|
|
|
|
public int? EmployeeID { get; set; }
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
|
|
public double Sum { get; set; }
|
|
|
|
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
|
|
}
|
|
}
|