using e_suite.Workflow.Core.Attributes;
using e_suite.Workflow.Core.Enums;
using e_suite.Workflow.Core.Interfaces;

namespace e_suite.Workflow.Core.Tasks;

[GeneralTask]
public class StageTask : TaskBase, IStage<GeneralTaskAttribute>, IBypassable, IOutcome<DefaultOutcome>
{
    public ICollection<ITask> Tasks { get; } = new List<ITask>();

    public bool Bypassable { get; set; }

    public List<OutcomeAction<DefaultOutcome>> OutcomeActions { get; set; } = [];
}