using System.ComponentModel.DataAnnotations;

namespace e_suite.Workflow.Core.Interfaces;

public interface IFailedLoopback
{
    /// <summary>
    /// ITask OnCompleteAsync returns false, the workflow processor will initiate a loopback to this item.
    /// </summary>
    [Required]
    public Task Loopback { get; set; }
}