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

22 lines
681 B
C#

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; }
public OrderType Type { get; set; } = OrderType.Unknown;
public OrderStatus Status { get; set; } = OrderStatus.Unknown;
public DateTime DateCreate { get; set; } = DateTime.Now;
public DateTime? DateImplement { get; set; }
public int SellerID { get; set; }
}
}