PIbd-32.-Stroev-V.M.-COP/WinFormsLibrary1/Contracts/ViewModels/ProductViewModel.cs
2024-11-11 22:20:20 +04:00

25 lines
777 B
C#

using Models.Enums;
using Models.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.ViewModels
{
public class ProductViewModel : IProductModel
{
public int Id { get; set; }
[DisplayName("Название")]
public string Name { get; set; } = string.Empty;
[DisplayName("Описание")]
public string Description { get; set; } = string.Empty;
[DisplayName("Категория продукта")]
public string Category { get; set; } = string.Empty;
[DisplayName("Количество товаров на складе")]
public int CountOnStorage { get; set; }
}
}