45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
using ConstructionFirmDataModels.Models;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.ComponentModel;
|
||
using System.Globalization;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace Subd_4.ViewModels
|
||
{
|
||
public class ProjectViewModel : IProjectModel
|
||
{
|
||
public int Id { get; set; }
|
||
|
||
[DisplayName ("Имя клиента")]
|
||
public string ClientName { get; set; } = string.Empty;
|
||
|
||
[DisplayName("Тип объекта")]
|
||
public string ObjectType { get; set; } = string.Empty;
|
||
|
||
[DisplayName("Местоположение")]
|
||
public string LocationP { get; set; } = string.Empty;
|
||
|
||
[DisplayName("Бюджет")]
|
||
public int Budget { get; set; }
|
||
|
||
[DisplayName("Срок выполнения")]
|
||
public DateTime DeadLine { get; set; }
|
||
|
||
[DisplayName("Статус")]
|
||
public ConstructionFirmDataModels.Enum.TaskStatus Status { get; set; } = ConstructionFirmDataModels.Enum.TaskStatus.Неизвестен;
|
||
|
||
public int CliendId { get; set; }
|
||
|
||
public int EmployeeId { get; set; }
|
||
|
||
[DisplayName("Название организации клиента")]
|
||
public string Organization { get; set; } = string.Empty;
|
||
|
||
public Dictionary<int, (IConstructionMaterialModel, int)> ConstructionMaterialProjects { get; set; } = new();
|
||
public Dictionary<int, (ITeamModel, int)> TeamProject { get; set; } = new();
|
||
}
|
||
}
|