PIbd-23_Yakobchuk_S.V._SUBD/ConstructionCompany/ConstructionCompanyContracts/ViewModels/ReportStructureViewModel.cs

51 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}