25 lines
763 B
C#
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; }
|
|
}
|
|
}
|