namespace WorkManagementTool.Data.Entities
{
    public class ProjectTask
    {
        public int Id { get; set; }
        public string Title { get; set; } = null!;
        public string? Description { get; set; }
        public DateTime DueDate { get; set; }
        public bool IsCompleted { get; set; }
        public List<ProjectTask>? PreviousTasks { get; set; }
        public Project Project { get; set; } = null!;
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
    }
}
