Class FlowInstance

java.lang.Object
org.dromara.warm.flow.orm.entity.JPARootEntity<FlowInstance>
org.dromara.warm.flow.orm.entity.FlowInstance
All Implemented Interfaces:
Serializable, org.dromara.warm.flow.core.entity.Instance, org.dromara.warm.flow.core.entity.RootEntity

@Entity public class FlowInstance extends JPARootEntity<FlowInstance> implements org.dromara.warm.flow.core.entity.Instance
流程实例对象 flow_instance
Since:
2024-05-08
Author:
vanlin
See Also:
  • Field Details

    • MAPPING

      public static final HashMap<String,String> MAPPING
    • entityPredicate

      private JPAPredicateFunction<javax.persistence.criteria.CriteriaBuilder,javax.persistence.criteria.Root<FlowInstance>,List<javax.persistence.criteria.Predicate>> entityPredicate
    • entityMerge

      private JPAUpdateMergeFunction<FlowInstance> entityMerge
    • definitionId

      private Long definitionId
      对应flow_definition表的id
    • flowName

      private String flowName
      流程名称
    • businessId

      private String businessId
      业务id
    • nodeType

      private Integer nodeType
      节点类型(0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关)
    • nodeCode

      private String nodeCode
      流程节点编码 每个流程的nodeCode是唯一的,即definitionId+nodeCode唯一,在数据库层面做了控制
    • nodeName

      private String nodeName
      流程节点名称
    • variable

      private String variable
      流程变量
    • flowStatus

      private String flowStatus
      流程状态(0待提交 1审批中 2 审批通过 3自动通过 4终止 5作废 6撤销 7取回 8已完成 9已退回 10失效)
    • activityStatus

      private Integer activityStatus
      流程激活状态(0挂起 1激活)
    • createBy

      private String createBy
      创建者
    • formCustom

      private String formCustom
      审批表单是否自定义(Y是 2否)
    • formPath

      private String formPath
      审批表单是否自定义(Y是 2否)
    • defJson

      private String defJson
      流程定义json
    • ext

      private String ext
      扩展字段,预留给业务系统使用
  • Constructor Details

    • FlowInstance

      public FlowInstance()
  • Method Details