2024-05-22 23:00:35 +04:00
|
|
|
|
using ElectronicsShopDataModels.Enums;
|
|
|
|
|
using ElectronicsShopDataModels.Models;
|
2024-04-27 13:01:57 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.ViewModels
|
|
|
|
|
{
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public class ProductViewModel : IProductModel {
|
|
|
|
|
public int ID { get; set; }
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public int CostItemID { get; set; }
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
[DisplayName("Название продукта")]
|
|
|
|
|
public string ProductName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Стоимость продукта")]
|
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
|
2024-05-28 12:50:24 +04:00
|
|
|
|
[DisplayName("Статья затрат")]
|
|
|
|
|
public string CostItemName { get; set; } = string.Empty;
|
2024-05-22 23:00:35 +04:00
|
|
|
|
}
|
2024-04-27 13:01:57 +04:00
|
|
|
|
}
|