change after merge
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using GozareshgirProgramManager.Domain._Common;
|
||||
using GozareshgirProgramManager.Domain.ProjectAgg.Entities.Task;
|
||||
using GozareshgirProgramManager.Domain.ProjectAgg.Enums;
|
||||
|
||||
namespace GozareshgirProgramManager.Domain.ProjectAgg.Entities;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user