AccountingWarehouseProducts.../AccountingWarehouseProducts/AccountingWarehouseProductsContracts/BindingModels/WarehouseBindingModel.cs

23 lines
608 B
C#

using AccountingWarehouseProductsDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccountingWarehouseProductsContracts.BindingModels
{
public class WarehouseBindingModel : IWarehouseModel
{
public int Id { get; set; }
public string WarehouseName { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public int Capacity { get; set; }
public Dictionary<int, (IProductModel, int)> WarehouseProducts { get; set; } = new();
}
}