package com.fourdage.dingding.entity;

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

import org.hibernate.annotations.Where;

import com.fourdage.base.entity.BaseEntity;

/**
 * <p>
 * 审批表单
 * </p>
 *
 * @author ajay peng
 * @since 2018-3-26
 */
@Entity
@Table(name = "tb_process")
@Where(clause = "rec_status='A'")
public class ProcessCode extends BaseEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7712277778301780214L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", nullable = false)
	private Integer id;
	
	private String processCode;
	
	private String processName;
	
	private String region;
	
	@Column(length = 2)
	private String recStatus;

	public Integer getId() {
		return id;
	}

	public String getProcessCode() {
		return processCode;
	}

	public String getProcessName() {
		return processName;
	}

	public String getRegion() {
		return region;
	}

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

	public void setProcessCode(String processCode) {
		this.processCode = processCode;
	}

	public void setProcessName(String processName) {
		this.processName = processName;
	}

	public void setRegion(String region) {
		this.region = region;
	}

}
