PIbd-22-Stroev-V.M.-Plumbin.../PlumbingRepair/PlumbingRepairContracts/ViewModels/OrderViewModel.cs

31 lines
1.1 KiB
C#
Raw Permalink Normal View History

2024-02-13 23:15:11 +04:00
using PlumbingRepairDataModels.Enums;
2024-02-27 22:51:12 +04:00
using PlumbingRepairDataModels.Models;
2024-02-13 23:15:11 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlumbingRepairContracts.ViewModels
{
public class OrderViewModel : IOrderModel
{
[DisplayName("Номер")]
public int Id { get; set; }
2024-02-14 11:14:37 +04:00
public int WorkId { get; set; }
2024-02-28 10:45:27 +04:00
[DisplayName("Работа")]
2024-02-14 11:14:37 +04:00
public string WorkName { get; set; } = string.Empty;
2024-02-13 23:15:11 +04:00
[DisplayName("Количество")]
public int Count { get; set; }
[DisplayName("Сумма")]
public double Sum { get; set; }
[DisplayName("Статус")]
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
[DisplayName("Дата создания")]
2024-04-09 13:35:33 +04:00
public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
2024-02-13 23:15:11 +04:00
[DisplayName("Дата выполнения")]
public DateTime? DateImplement { get; set; }
}
}