elsa-core/src/clients/Elsa.Client/Models/WorkflowDefinition.cs
2020-11-12 23:45:18 +01:00

24 lines
897 B
C#

namespace Elsa.Client.Models
{
public class WorkflowDefinition : CompositeActivityDefinition
{
public WorkflowDefinition()
{
Variables = new Variables();
Type = "Workflow";
}
public int Id { get; set; }
public string WorkflowDefinitionId { get; set; } = default!;
public string WorkflowDefinitionVersionId { get; set; } = default!;
public int Version { get; set; }
public Variables? Variables { get; set; }
public WorkflowContextOptions? ContextOptions { get; set; }
public bool IsSingleton { get; set; }
public WorkflowPersistenceBehavior PersistenceBehavior { get; set; }
public bool DeleteCompletedInstances { get; set; }
public bool IsEnabled { get; set; }
public bool IsPublished { get; set; }
public bool IsLatest { get; set; }
}
}