Task_Tracker_SUBD/TaskTrackerRestAPI/TaskTrackerContracts/BindingModels/TaskBindingModel.cs
2023-05-17 10:48:52 +04:00

36 lines
804 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TaskTrackerModels.Enums;
using TaskTrackerModels.Models;
namespace TaskTrackerContracts.BindingModels
{
public class TaskBindingModel : ITaskModel
{
public string Name { get; set; } = string.Empty;
public string Status { get; set; } = string.Empty;
public DateTime DateCreate { get; set; } = DateTime.Now;
public DateTime Deadline { get; set; }
public DateTime? DateDone { get; set; }
public int ProjectId { get; set; }
public Dictionary<int, (IEmployeeModel, string)> TaskEmployees { get; set; } = new();
//public virtual ICollection<TaskAssigment> TaskAssigments { get; set; } = new List<TaskAssigment>();
public int Id { get; set; }
}
}