CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/BindingModels/OrderBindingModel.cs
Илья Федотов 7f9720200f fix Db models
2024-05-25 22:32:22 +04:00

24 lines
561 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 DateTime DateCreate { get; set; } = DateTime.Now;
public double Sum { get; set; }
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
}
}