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(taskIcon: "faEye")]
public class ApprovalTask : TaskBase, IStage<ApprovalTaskAttribute>, IOutcome<ApprovalVerdict>
{
    public ICollection<ITask> Tasks { get; } = new List<ITask>();
    public ApprovalVerdict TaskOutcome { get; set; }

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