package cn.autoform.db.entity;
|
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* 流程定义关联实例关联组织机构
|
* @author DELL
|
*
|
*/
|
@Data
|
public class ProcessInstance implements Serializable{
|
|
public ProcessInstance(){}
|
|
public ProcessInstance(String formId,String tenantId,Integer dataRowNum){
|
super();
|
this.formID = formId;
|
this.tenantID = tenantId;
|
this.dataRowNum = dataRowNum;
|
}
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
private Integer id;
|
|
/**
|
* 流程定义ID
|
*/
|
private String processDefId;
|
/**
|
* 流程实例ID
|
*/
|
private String processInstId;
|
/**
|
* 组织机构ID
|
*/
|
private String organizationId;
|
|
/**
|
* 表单ID
|
*/
|
private String formID;
|
|
/**
|
* 租户ID
|
*/
|
private String tenantID;
|
|
/**
|
* 信息状态:(退回:10,创建:20,撤销:30,执行:40,终止:50,执行结束:60,设置代办:70)
|
*/
|
private Integer processState;
|
|
/**
|
* 表单数据ID
|
*/
|
private Integer dataRowNum;
|
|
/**
|
*
|
* @return
|
*/
|
private String openId;
|
|
/**
|
* 第一条活动Id
|
*/
|
private String activityInstId;
|
|
/**
|
* 待办列表
|
*/
|
private List<ProcessTask> workItems;
|
|
/**
|
* 第一个活动定义id
|
*/
|
private String oneActivityDefId;
|
|
}
|