Backend/e-suite.Workflow.Core/Interfaces/IAssignees.cs

19 lines
494 B
C#

using e_suite.Workflow.Core.Attributes;
using e_suite.Workflow.Core.Enums;
using System.ComponentModel.DataAnnotations;
namespace e_suite.Workflow.Core.Interfaces;
public interface IAssignees
{
}
[TaskCapability]
public interface IAssignees<TTaskAssignee, TOutcome> : IAssignees, IOutcome<TOutcome> where TTaskAssignee : ITaskAssignee
{
[Required]
List<TTaskAssignee> Assignees { get; set; }
CompletionRule<TOutcome> AssigneesCompletionRule { get; set; }
}