27 lines
708 B
C#
27 lines
708 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 ProductViewModel : IProductModel {
|
|
public int ID { get; set; }
|
|
|
|
public int CostItemID { get; set; }
|
|
|
|
[DisplayName("Название продукта")]
|
|
public string ProductName { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Стоимость продукта")]
|
|
public double Price { get; set; }
|
|
|
|
[DisplayName("Статья затрат")]
|
|
public string CostItemName { get; set; } = string.Empty;
|
|
}
|
|
}
|