CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/ViewModels/ProductViewModel.cs
Илья Федотов 2587d43871 Contracts 0.1
2024-04-27 13:01:57 +04:00

28 lines
773 B
C#

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; }
}
}