Coursework_ComputerStore_Li.../ComputerStoreContracts/ViewModels/OrderViewModel.cs

30 lines
897 B
C#
Raw Normal View History

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("Type of order")]
public OrderType Type { 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("User ID")]
public int UserID { get; set; }
}
}