27 lines
770 B
C#
27 lines
770 B
C#
|
using AccountingWarehouseProductsDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace AccountingWarehouseProductsContracts.ViewModels
|
|||
|
{
|
|||
|
public class WarehouseViewModel : IWarehouseModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
[DisplayName("Название склада")]
|
|||
|
public string WarehouseName { get; set; } = string.Empty;
|
|||
|
|
|||
|
[DisplayName("Адрес")]
|
|||
|
public string Address { get; set; } = string.Empty;
|
|||
|
|
|||
|
[DisplayName("Вместимость")]
|
|||
|
public int Capacity { get; set; }
|
|||
|
|
|||
|
public Dictionary<int, (IProductModel, int)> WarehouseProducts { get; set; } = new();
|
|||
|
}
|
|||
|
}
|