package cn.com.countrygarden.bi.main.model.project;

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

@Table(name = "project_plan_one")
public class ProjectPlanOne {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	@Column(name = "name")
	/**
	 * 决策层合作确认
	 */
	public static final String CODE_OWNER = "owner";
	/**
	 * 结束
	 */
	public static final String CODE_OVER = "over";
	/**
	 * 合规性操盘
	 */
	public static final String CODE_SIGN = "sign";
	/**
	 * 价格细节洽谈
	 */
	public static final String CODE_PRICE = "price";
	/**
	 * 合作意向确认
	 */
	public static final String CODE_COOPERATION = "cooperation";
	/**
	 * 关键人接触
	 */
	public static final String CODE_PROJECTKEY = "projectKey";
	/**
	 * 基础信息录入
	 */
	public static final String CODE_PROJECTINFO = "projectInfo";
	/**
	 * 等待重启
	 */
	public static final String CODE_CHECKRESTART = "checkReStart";
	/**
	 * 等待中止
	 */
	public static final String CODE_CHECKSTOP = "checkStop";

	private String name;
	@Column(name = "code")
	private String code;
	@Column(name = "sort")
	private Integer sort;

	public Integer getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code == null ? null : code.trim();
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
}