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