AccountingWarehouseProducts.../AccountingWarehouseProducts/AccountingWarehouseProductsContracts/ViewModels/ProductViewModel.cs

31 lines
892 B
C#
Raw Normal View History

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; }
2024-05-01 22:21:11 +04:00
[DisplayName("Дата изготовления")]
2024-05-07 16:15:07 +04:00
public DateTime DateofFabrication { get; set; }
2024-05-01 22:21:11 +04:00
[DisplayName("Годен до")]
2024-05-07 16:15:07 +04:00
public DateTime? ValidUntil { get; set; }
[DisplayName("Категория")]
public string Category { get; set; } = string.Empty;
}
}