package com.mossle.bpm.persistence.domain;
// Generated by Hibernate Tools
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
* BpmSequence .
*
* @author Lingo
*/
@Entity
@Table(name = "BPM_SEQUENCE")
public class BpmSequence implements java.io.Serializable {
private static final long serialVersionUID = 0L;
/** null. */
private Long id;
/** null. */
private String code;
/** null. */
private String sourceCode;
/** null. */
private String targetCode;
/** null. */
private Date createTime;
/** null. */
private String processInstanceId;
/** null. */
private String type;
/** null. */
private String tenantId;
public BpmSequence() {
}
public BpmSequence(Long id) {
this.id = id;
}
public BpmSequence(Long id, String code, String sourceCode,
String targetCode, Date createTime, String processInstanceId,
String type, String tenantId) {
this.id = id;
this.code = code;
this.sourceCode = sourceCode;
this.targetCode = targetCode;
this.createTime = createTime;
this.processInstanceId = processInstanceId;
this.type = type;
this.tenantId = tenantId;
}
/** @return null. */
@Id
@Column(name = "ID", unique = true, nullable = false)
public Long getId() {
return this.id;
}
/**
* @param id
* null.
*/
public void setId(Long id) {
this.id = id;
}
/** @return null. */
@Column(name = "CODE", length = 100)
public String getCode() {
return this.code;
}
/**
* @param code
* null.
*/
public void setCode(String code) {
this.code = code;
}
/** @return null. */
@Column(name = "SOURCE_CODE", length = 100)
public String getSourceCode() {
return this.sourceCode;
}
/**
* @param sourceCode
* null.
*/
public void setSourceCode(String sourceCode) {
this.sourceCode = sourceCode;
}
/** @return null. */
@Column(name = "TARGET_CODE", length = 100)
public String getTargetCode() {
return this.targetCode;
}
/**
* @param targetCode
* null.
*/
public void setTargetCode(String targetCode) {
this.targetCode = targetCode;
}
/** @return null. */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATE_TIME", length = 26)
public Date getCreateTime() {
return this.createTime;
}
/**
* @param createTime
* null.
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/** @return null. */
@Column(name = "PROCESS_INSTANCE_ID", length = 100)
public String getProcessInstanceId() {
return this.processInstanceId;
}
/**
* @param processInstanceId
* null.
*/
public void setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
}
/** @return null. */
@Column(name = "TYPE", length = 50)
public String getType() {
return this.type;
}
/**
* @param type
* null.
*/
public void setType(String type) {
this.type = type;
}
/** @return null. */
@Column(name = "TENANT_ID", length = 64)
public String getTenantId() {
return this.tenantId;
}
/**
* @param tenantId
* null.
*/
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
}