CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/ViewModels/OrderViewModel.cs
Илья Федотов 768dce69f1 Models fix
2024-05-22 23:00:35 +04:00

30 lines
760 B
C#

using ElectronicsShopDataModels.Enums;
using ElectronicsShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.ViewModels
{
public class OrderViewModel : IOrderModel
{
public int ID { get; set; }
public int ClientID { get; set; }
public int? EmployeeID { get; set; }
[DisplayName("Дата заказа")]
public DateTime DateCreate { get; set; } = DateTime.Now;
[DisplayName("Сумма заказа")]
public double Sum { get; set; }
[DisplayName("Список продуктов")]
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
}
}