SYBD_2024/Subd-4/BindingModels/ProjectBindingModel.cs

25 lines
981 B
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.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Subd_4.BindingModels
{
public class ProjectBindingModel : IProjectModel
{
public int Id { get; set; }
public string ClientName { get; set; } = string.Empty;
public string ObjectType { get; set; } = string.Empty;
public string LocationP { get; set; } = string.Empty;
public int Budget { get; set; }
public DateTime DeadLine { get; set; } = DateTime.Now;
public ConstructionFirmDataModels.Enum.TaskStatus Status { get; set; } = ConstructionFirmDataModels.Enum.TaskStatus.Неизвестен;
public int CliendId { get; set; }
public int EmployeeId { get; set; }
public Dictionary<int, (IConstructionMaterialModel, int)> ConstructionMaterialProjects { get; set; } = new();
public Dictionary<int, (ITeamModel, int)> TeamProject { get; set; } = new();
}
}