/**
 */
package com.sifang.modules.flowable.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import java.io.Serializable;
import java.util.Date;

/**
 * 信息Entity
 * @author Ivan
 * @version 2023-04-11
 */
@Entity
@Table(name = "crm_process_def_latest")
public class ProcessDefLatest implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private String id; 		// 编号

	private Date createTime;
	private String createBy;
	private String keyValue;
	private String processDefId;
	private String roleId;


	@Id
	@GeneratedValue(generator = "idGenerator")
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getKeyValue() {
		return keyValue;
	}

	public void setKeyValue(String keyValue) {
		this.keyValue = keyValue;
	}

	public String getProcessDefId() {
		return processDefId;
	}

	public void setProcessDefId(String processDefId) {
		this.processDefId = processDefId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	@Override
	public String toString() {
		return "ProcessDefLatest{" +
				"id='" + id + '\'' +
				", createTime=" + createTime +
				", keyValue='" + keyValue + '\'' +
				", processDefId='" + processDefId + '\'' +
				", roleId='" + roleId + '\'' +
				'}';
	}
}


