PIbd-32.-Stroev-V.M.-COP/WinFormsLibrary1/Contracts/ViewModels/ProductViewModel.cs

25 lines
763 B
C#
Raw Normal View History

2024-10-27 16:16:44 +04:00
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; }
}
}