AccountingWarehouseProducts.../AccountingWarehouseProducts/AccountingWarehouseProductsContracts/BindingModels/OrderBindingModel.cs

21 lines
650 B
C#
Raw Normal View History

using AccountingWarehouseProductsDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccountingWarehouseProductsContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public DateTime? DateofOrder { get; set; }
public AccountingWarehouseProductsDataModels.Enums.OrderStatus Status { get; set; } = AccountingWarehouseProductsDataModels.Enums.OrderStatus.Неизвестен;
public Dictionary<int, (IProductModel, int)> OrderProducts { get; set; } = new();
}
}