Coursework_ComputerStore_Li.../ComputerStoreContracts/BindingModels/OrderBindingModel.cs

23 lines
768 B
C#
Raw Normal View History

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();
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; }
}
}