| | | 1 | | using Elsa.Common.Entities; |
| | | 2 | | |
| | | 3 | | namespace Elsa.Workflows.Runtime.Entities; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Represents a trigger associated with a workflow definition. |
| | | 7 | | /// </summary> |
| | | 8 | | public class StoredTrigger : Entity |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// The ID of the workflow definition. |
| | | 12 | | /// </summary> |
| | 805 | 13 | | public string WorkflowDefinitionId { get; set; } = null!; |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// The version ID of the workflow definition. |
| | | 17 | | /// </summary> |
| | 999 | 18 | | public string WorkflowDefinitionVersionId { get; set; } = null!; |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// The name of the trigger, if any. Typically assigned a stimulus name. |
| | | 22 | | /// </summary> |
| | 933 | 23 | | public string? Name { get; set; } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// The ID of the activity associated with the trigger. |
| | | 27 | | /// </summary> |
| | 1001 | 28 | | public string ActivityId { get; set; } = null!; |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// The hash of the trigger. |
| | | 32 | | /// </summary> |
| | 789 | 33 | | public string? Hash { get; set; } |
| | | 34 | | |
| | | 35 | | /// <summary> |
| | | 36 | | /// The payload of the trigger. |
| | | 37 | | /// </summary> |
| | 1273 | 38 | | public object? Payload { get; set; } |
| | | 39 | | } |