using e_suite.Workflow.Core.Enums;
using eSuite.Core.Workflow;

namespace e_suite.Workflow.Core.Interfaces;

public class CompletionRule<TOutcome>
{
    public RuleOperator Operator { get; set; }
    public List<CompletionRule<TOutcome>>? Children { get; set; }

    public Raci? RaciFilter { get; set; }
    public TOutcome RequiredOutcome { get; set; } = default!;
    public int? Threshold { get; set; }
}