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 AdhocApprovalTask : TaskBase, IAssignees<ApprovalTaskAssignee>, IOutcome<ApprovalVerdict>
{
    public List<ApprovalTaskAssignee> Assignees { get; set; } = [];
    public ApprovalVerdict TaskOutcome { get; set; }
    public Dictionary<ApprovalVerdict, Guid> OutcomeActions { get; set; }
    public bool OverrideDefaultTaskProgression { get; set; }
}