25 lines
727 B
C#
25 lines
727 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 OrderViewModel : IOrderModel
|
|
{
|
|
[DisplayName("Номер")]
|
|
public int Id { get; set; }
|
|
|
|
[DisplayName("Дата заказа")]
|
|
public DateTime? DateofOrder { get; set; }
|
|
|
|
[DisplayName("Статус заказа")]
|
|
public AccountingWarehouseProductsDataModels.Enums.OrderStatus Status { get; set; }
|
|
|
|
public Dictionary<int, (IProductModel, int)> OrderProducts { get; set; } = new();
|
|
}
|
|
}
|