SYBD_2024/Subd-4/ViewModels/ProjectViewModel.cs

45 lines
1.4 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 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();
}
}