32 lines
986 B
C#
32 lines
986 B
C#
using ComputerStoreDataModels.Enums;
|
|
using ComputerStoreDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ComputerStoreContracts.ViewModels
|
|
{
|
|
public class OrderViewModel : IOrderModel
|
|
{
|
|
[DisplayName("Order ID")]
|
|
public int ID { get; set; }
|
|
[DisplayName("Price")]
|
|
public double Price { get; set; }
|
|
[DisplayName("Consignment ID")]
|
|
public int? ConsignmentID { get; set; }
|
|
[DisplayName("Request ID")]
|
|
public int? RequestID { get; set; }
|
|
[DisplayName("Status")]
|
|
public OrderStatus Status { get; set; }
|
|
[DisplayName("Creation date")]
|
|
public DateTime DateCreate { get; set; }
|
|
[DisplayName("Implementation date")]
|
|
public DateTime? DateImplement { get; set; }
|
|
[DisplayName("Seller ID")]
|
|
public int SellerID { get; set; }
|
|
}
|
|
}
|