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

38 lines
1.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using AccountingWarehouseProductsDataModels.Enums;
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 int ProductId { get; set; }
public int SupplierId { get; set; }
public string ProductName { get; set; } = string.Empty;
public string SupplierName { get; set; } = string.Empty;
public string WarehouseName { get; set; } = string.Empty;
public int Count { get; set; }
public double Sum { get; set; }
public DateTime? DateofOrder { get; set; }
public DateTime? DateImplement { get; set; }
public AccountingWarehouseProductsDataModels.Enums.OrderStatus Status { get; set; } = AccountingWarehouseProductsDataModels.Enums.OrderStatus.Неизвестен;
public Dictionary<int, (IProductModel, int)> OrderProduct { get; set; } = new();
}
}