package cn.autoform.db.entity;
|
|
|
|
import cn.autoform.util.thread.Keys;
|
import cn.autoform.util.thread.ThreadData;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
|
/**
|
* 流程记录表
|
* @ClassName: Log
|
* @author [九鼎联合科技]
|
* @date 2017年11月02日 上午10:42:27
|
*/
|
@Data
|
public class ProcessLog implements Serializable{
|
|
private static final long serialVersionUID = 1L;
|
|
public ProcessLog(){};
|
|
public ProcessLog(String formID,Integer dataRowNum
|
,String tenantID,String processInstId
|
,String companyId,String openId){
|
this.formID = formID;
|
this.dataRowNum = dataRowNum;
|
this.tenantID = tenantID;
|
this.processInstId = processInstId;
|
this.companyId = companyId;
|
this.openId = openId;
|
}
|
|
public ProcessLog(String formID,Integer dataRowNum
|
,String tenantID,String openId){
|
this.formID = formID;
|
this.dataRowNum = dataRowNum;
|
this.tenantID = tenantID;
|
this.openId = openId;
|
|
}
|
|
public void init(){
|
this.insP = ThreadData.get(Keys.OPEN_ID);
|
this.insT = new Date();
|
this.updP = ThreadData.get(Keys.OPEN_ID);
|
this.updT = new Date();
|
this.dataStart = 0;
|
}
|
|
/**
|
* id
|
*/
|
private int id;
|
|
//流程实例id
|
private String processInstId;
|
|
//表单id
|
private String formID;
|
|
//
|
private Integer dataRowNum;
|
|
private String numberForm;
|
|
private String formName;
|
|
//数据类型:10:审批,20:退回,30:办理中,40:办理完成
|
private String dataType;
|
|
private Date executeTime;
|
|
private String overTime;
|
|
private Date insT;
|
|
private Date updT;
|
|
private String insP;
|
|
private String updP;
|
|
private Integer dataStart;
|
|
private String backlogStartTime;
|
|
private String backlogArriveTime;
|
|
private String isOvertime;
|
|
private String activityDefName;
|
|
private String tenantID;
|
|
private String companyId;
|
|
private String openId;
|
|
private String createUser;
|
|
|
}
|