change after merge

This commit is contained in:
gozareshgir
2026-01-27 17:49:29 +03:30
parent 54ff59de48
commit 6b81f383f6
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using GozareshgirProgramManager.Domain._Common;
using GozareshgirProgramManager.Domain.ProjectAgg.Entities.Task;
using GozareshgirProgramManager.Domain.ProjectAgg.Enums;
namespace GozareshgirProgramManager.Domain.ProjectAgg.Entities;

View File

@@ -19,7 +19,7 @@ public class ProjectTask : ProjectHierarchyNode
public ProjectTask(string name, Guid phaseId,ProjectTaskPriority priority, string? description = null) : base(name, description)
{
PhaseId = phaseId;
_sections = new List<TaskSection>();
_sections = new List<TaskSection.TaskSection>();
BugSectionList = new List<BugSection>();
Priority = priority;
AddDomainEvent(new TaskCreatedEvent(Id, phaseId, name));
@@ -27,7 +27,7 @@ public class ProjectTask : ProjectHierarchyNode
public Guid PhaseId { get; private set; }
public ProjectPhase Phase { get; private set; } = null!;
public IReadOnlyList<TaskSection> Sections => _sections.AsReadOnly();
public IReadOnlyList<TaskSection.TaskSection> Sections => _sections.AsReadOnly();
public List<BugSection> BugSectionList { get; set; }
// Task-specific properties