2023-04-05 21:24:46 +04:00
|
|
|
|
using ComputerStoreDataModels.Enums;
|
|
|
|
|
using ComputerStoreDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ComputerStoreContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
public double Price { get; set; }
|
2023-04-07 20:46:13 +04:00
|
|
|
|
public List<IConsignmentModel> OrderConsignments { get; set; } = new();
|
|
|
|
|
public List<IRequestModel> OrderRequests { get; set; } = new();
|
2023-04-05 21:24:46 +04:00
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Unknown;
|
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
|
|
|
public DateTime? DateImplement { get; set; }
|
2023-04-05 22:11:17 +04:00
|
|
|
|
public int SellerID { get; set; }
|
2023-04-05 21:24:46 +04:00
|
|
|
|
}
|
|
|
|
|
}
|