51 lines
1.5 KiB
C#
51 lines
1.5 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.ComponentModel;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
using ConstructionCompanyDataModels.Enums;
|
||
|
||
namespace ConstructionCompanyContracts.ViewModels
|
||
{
|
||
public class ReportStructureViewModel
|
||
{
|
||
public int Id { get; set; }
|
||
public DateTime DateCreate { get; set; }
|
||
|
||
[DisplayName("Заказчик")]
|
||
public string DriverFio { get; set; } = string.Empty;
|
||
|
||
[DisplayName("Исполнитель")]
|
||
public string Model { get; set; } = string.Empty;
|
||
|
||
public int CargoId { get; set; }
|
||
|
||
[DisplayName("Вид постройки")]
|
||
public string CargoName { get; set; } = string.Empty;
|
||
|
||
[DisplayName("Количество строений")]
|
||
public int Count { get; set; }
|
||
|
||
public int PointFromId { get; set; }
|
||
|
||
[DisplayName("Адрес")]
|
||
public string PointNameFrom { get; set; } = string.Empty;
|
||
|
||
public int PointToId { get; set; }
|
||
|
||
//[DisplayName("Куда")]
|
||
//public string PointNameTo { get; set; } = string.Empty;
|
||
|
||
[DisplayName("Статус")]
|
||
public StructureStatus Status { get; set; } = StructureStatus.Неизвестен;
|
||
|
||
[DisplayName("Дата начала работ")]
|
||
public DateTime DepartureDate { get; set; } = DateTime.Now;
|
||
|
||
[DisplayName("Дата окончания работ")]
|
||
public DateTime? ArrivalDate { get; set; }
|
||
}
|
||
}
|
||
|