29 lines
787 B
C#
29 lines
787 B
C#
using ElectronicsShopDataModels.Enums;
|
||
using ElectronicsShopDataModels.Models;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace ElectronicsShopContracts.BindingModels
|
||
{
|
||
public class OrderBindingModel : IOrderModel
|
||
{
|
||
public int ID { get; set; }
|
||
|
||
public double Sum { get; set; }
|
||
|
||
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
||
|
||
public PaymeantOption PaymeantOption { get; set; } = PaymeantOption.Неизвестно;
|
||
|
||
public DateTime DateCreate { get; set; } = DateTime.Now;
|
||
|
||
public DateTime? DateImplemet { get; set; }
|
||
|
||
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
|
||
|
||
}
|
||
}
|