PIbd-23-Lisov-N.A-SewingDre.../DressAtelierContracts/ViewModels/OrderViewModel.cs

39 lines
1008 B
C#
Raw Normal View History

using DressAtelierDataModels.Enums;
using DressAtelierDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DressAtelierContracts.ViewModels
{
public class OrderViewModel : IOrderModel
{
2023-02-13 02:45:41 +04:00
[DisplayName("ID")]
public int ID { get; set; }
public int DressID { get; set; }
[DisplayName("DressName")]
public string DressName { get; set; } = string.Empty;
[DisplayName("Quantity")]
public int Count { get; set; }
[DisplayName("Overall price")]
public double Sum { get; set; }
[DisplayName("Status")]
public OrderStatus Status { get; set; } = OrderStatus.Unknown;
[DisplayName("Date of creation")]
public DateTime DateCreate { get; set; } = DateTime.Now;
[DisplayName("Date of implementation")]
public DateTime? DateImplement { get; set; }
2023-02-13 02:45:41 +04:00
}
}