CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/ViewModels/ProductViewModel.cs
Илья Федотов f9c768037d is done
2024-04-29 23:20:48 +04:00

25 lines
687 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; }
}
}