2024-04-07 16:54:02 +04:00
|
|
|
|
using SoftwareInstallationDataModels.Enums;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
using SoftwareInstallationDataModels.Models;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace SoftwareInstallationContracts.ViewModels
|
|
|
|
|
{
|
2024-05-12 14:38:32 +04:00
|
|
|
|
public class OrderViewModel : IOrderModel
|
2024-04-07 16:54:02 +04:00
|
|
|
|
{
|
|
|
|
|
[DisplayName("Номер")]
|
|
|
|
|
public int Id { get; set; }
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
public int PackageId { get; set; }
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("ПО")]
|
2024-04-07 16:54:02 +04:00
|
|
|
|
public string PackageName { get; set; } = string.Empty;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
[DisplayName("Количество")]
|
|
|
|
|
public int Count { get; set; }
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
[DisplayName("Сумма")]
|
|
|
|
|
public double Sum { get; set; }
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
[DisplayName("Статус")]
|
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
[DisplayName("Дата создания")]
|
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
[DisplayName("Дата выполнения")]
|
|
|
|
|
public DateTime? DateImplement { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|