/**
 */
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;


/**
 * @author Generate Tools
 * @version 
 */
@Entity
@Table(name = "crm_process_def")
public class ProcessDef implements Serializable{

	private String id;
	private String name;

	private String formId;

	private String description;
	private String status;
	private Date createTime;
	private String createBy;
	private String keyValue;

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

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getFormId() {
		return formId;
	}

	public void setFormId(String formId) {
		this.formId = formId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}


	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 getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getKeyValue() {
		return keyValue;
	}

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

	@Override
	public String toString() {
		return "ProcessDef{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", formId='" + formId + '\'' +
				", description='" + description + '\'' +
				", status='" + status + '\'' +
				", createTime=" + createTime +
				", createBy='" + createBy + '\'' +
				", keyValue='" + keyValue + '\'' +
				'}';
	}
}


