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 ProductViewModel : IProductModel { //ID категории продукта (товара) public int CategoryID { get; set; } //ID продукта (товара) public int ID { get; set; } [DisplayName("Название товара")] public string ProductName { get; set; } = string.Empty; [DisplayName("Цена")] public double Price { get; set; } [DisplayName("Количество")] public int Count { get; set; } } }