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: "faEyeSlash")]
public class AdhocApprovalTask : TaskBase, IAssignees<ApprovalTaskAssignee, ApprovalVerdict>
{
    public List<ApprovalTaskAssignee> Assignees { get; set; } = [];
    public CompletionRule<ApprovalVerdict> AssigneesCompletionRule { get; set; }
    public ApprovalVerdict TaskOutcome { get; set; }
    public List<OutcomeAction<ApprovalVerdict>> OutcomeActions { get; set; }
}