31 lines
892 B
C#
31 lines
892 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 DateTime DateofFabrication { get; set; }
|
|
|
|
[DisplayName("Годен до")]
|
|
public DateTime? ValidUntil { get; set; }
|
|
|
|
[DisplayName("Категория")]
|
|
public string Category { get; set; } = string.Empty;
|
|
}
|
|
}
|