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

namespace e_suite.Workflow.Core.Tasks;

[GeneralTask]
public class ApprovalTask : TaskBase, IStage<ApprovalTaskAttribute>, IFailedLoopback
{
    public required Task Loopback { get; set; }

    public ICollection<ITask> Tasks { get; } = new List<ITask>();

    //Todo can only be on a run-time instance
    //public override Task<bool> OnCompleteAsync()
    //{

    //    return Task.FromResult(true);
    //}
}