31 lines
920 B
C#
31 lines
920 B
C#
using AccountingWarehouseProductsDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AccountingWarehouseProductsContracts.ViewModels
|
|
{
|
|
public class ProductViewModel : IProductModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[DisplayName("Название продукта")]
|
|
public string ProductName { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Цена продукта")]
|
|
public double Cost { get; set; }
|
|
|
|
[DisplayName("Дата изготовления")]
|
|
public string? DateofFabrication { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Годен до")]
|
|
public string ValidUntil { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Категория")]
|
|
public string Category { get; set; } = string.Empty;
|
|
}
|
|
}
|