namespace Workflow.Domain.Enums;

public enum DefinitionStatus
{
    Draft = 0,
    Published = 1,
    Disabled = 2
}

public enum InstanceStatus
{
    Pending = 0,
    Running = 1,
    Suspended = 2,
    Completed = 3,
    Terminated = 4
}

public enum TokenStatus
{
    Active = 0,
    Consumed = 1,
    Terminated = 2
}

public enum TaskStatus
{
    Pending = 0,
    Approved = 1,
    Rejected = 2,
    Transferred = 3,
    Delegated = 4
}

public enum TaskType
{
    Approval = 0,
    Cc = 1
}

public enum NodeType
{
    Start = 0,
    End = 1,
    Approval = 2,
    Cc = 3,
    Condition = 4,
    Parallel = 5,
    SubProcess = 6
}

public enum FormStatus
{
    Draft = 0,
    Published = 1,
    Disabled = 2
}

public enum FieldType
{
    Input = 0,
    Select = 1,
    Date = 2,
    Number = 3,
    FileUpload = 4,
    RichText = 5,
    Textarea = 6,
    Radio = 7,
    Checkbox = 8
}

public enum TaskResult
{
    Approved = 0,
    Rejected = 1
}

public enum EdgeType
{
    Normal = 0,
    Approved = 1,
    Rejected = 2
}
