package cn.stylefeng.workflow.api.pojo.config.node.bpmn;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;

@Data
public class BpmnConfig {

    @ChineseDescription("bpmn节点id")
    private String bpmnNodeId;

    @ChineseDescription("bpmn节点注释")
    private String bpmnNodeDescription;

    @ChineseDescription("附加到活动")
    private String attachedToActivityRef;

    @ChineseDescription("中断类型")
    private String interruptingType;

    @ChineseDescription("触发条件")
    private String triggerCondition;

    @ChineseDescription("执行者配置，保存用户id")
    private Long executorId;

    @ChineseDescription("输入数据")
    private String inputData;

    @ChineseDescription("输出数据")
    private String outputData;

    @ChineseDescription("优先级")
    private Integer priority;

    @ChineseDescription("触发条件")
    private String condition;

    @ChineseDescription("循环次数")
    private Integer loopTime;

    @ChineseDescription("默认路径")
    private String defaultCondition;

    @ChineseDescription("事件类型，下拉选择Exclusive、Parallel")
    private String eventType;

    @ChineseDescription("数据类型，String、Integer、Boolean、Double")
    private String dataType;

    @ChineseDescription("初始值")
    private String initialValue;

    @ChineseDescription("是否是集合")
    private Boolean arrayFlag;

    @ChineseDescription("可见性，下拉选择Public、Private")
    private String visibility;

}
