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

namespace e_suite.Workflow.Core.Tasks;

/// <summary>
/// A user has to open this task, manually set it to ready to complete
/// </summary>
[GeneralTask(taskIcon: "faSquareCheck")]
public class BasicTask : TaskBase, IAssignees<TaskAssignee, DefaultOutcome>
{
    public List<TaskAssignee> Assignees { get; set; } = [];
    public CompletionRule<DefaultOutcome> AssigneesCompletionRule { get; set; }

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