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 ProductList { get; set; } = new(); } }