CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/ViewModels/ReportOrdersVeiwModel.cs

23 lines
520 B
C#

using ElectronicsShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.ViewModels
{
public class ReportOrdersVeiwModel
{
public int ID { get; set; }
public int ClientID { get; set; }
public DateTime DateCreate { get; set; }
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
public double Sum { get; set; }
}
}