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 ApprovalTask : TaskBase, IStage<ApprovalTaskAttribute>, IOutcome<ApprovalVerdict>
{
    public ICollection<ITask> Tasks { get; } = new List<ITask>();
    public ApprovalVerdict TaskOutcome { get; set; }
    public Dictionary<ApprovalVerdict, Guid> OutcomeActions { get; set; }
    public bool OverrideDefaultTaskProgression { get; set; }
}