2024-02-11 16:43:19 +04:00
|
|
|
|
using AutomobilePlantDataModels.Enums;
|
|
|
|
|
using AutomobilePlantDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderViewModel : IOrderModel
|
|
|
|
|
{
|
2024-02-12 14:42:27 +04:00
|
|
|
|
[DisplayName("Number")]
|
2024-02-11 16:43:19 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public int CarId { get; set; }
|
2024-02-12 14:42:27 +04:00
|
|
|
|
[DisplayName("Car's name")]
|
2024-02-11 16:43:19 +04:00
|
|
|
|
public string CarName { get; set; } = string.Empty;
|
2024-02-12 14:42:27 +04:00
|
|
|
|
[DisplayName("Count")]
|
2024-02-11 16:43:19 +04:00
|
|
|
|
public int Count { get; set; }
|
2024-02-12 14:42:27 +04:00
|
|
|
|
[DisplayName("Sum")]
|
2024-02-11 16:43:19 +04:00
|
|
|
|
public double Sum { get; set; }
|
2024-02-12 14:42:27 +04:00
|
|
|
|
[DisplayName("Status")]
|
2024-02-11 16:43:19 +04:00
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
2024-02-12 14:42:27 +04:00
|
|
|
|
[DisplayName("Date of creation")]
|
2024-02-11 16:43:19 +04:00
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
2024-02-12 14:42:27 +04:00
|
|
|
|
[DisplayName("Date of completion")]
|
2024-02-11 16:43:19 +04:00
|
|
|
|
public DateTime? DateImplement { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|