PIbd-32.-Stroev-V.M.-COP/WinFormsLibrary1/Contracts/ViewModels/ProductViewModel.cs
2024-10-27 15:16:44 +03:00

25 lines
763 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 Category Category { get; set; }
[DisplayName("Количество товаров на складе")]
public int CountOnStorage { get; set; }
}
}