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

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

/**
 * 指标项
 * 
 * @author leo 严明斌
 * @version 2018-4-3 16:58:32
 * 
 */

public class PerformanceElement {
	

	
	



	/*private static final long serialVersionUID = 1L;*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long elementId;	//指标编号
	private Long preElementId;	//指标编号
	private String name;	//名称
	private String type;	//类型
	private String typeNo;  //考核对象类型
	private Integer level;	//层级（1，2，3）
	private Integer unit;	//单位（0-分，1-百分比，2-元，3-万元，4-平方米/人）
	private Date createdDate;	//创建日期
	private String createdBy;	//创建人
	private Date updateDate;	//更新日期
	private String updateBy;	//更新人	

	
	public void setElementId(Long elementId){
		this.elementId = elementId;
	}
	
	public Long getElementId(){
		return elementId;
	}
	
	public void setPreElementId(Long preElementId){
		this.preElementId = preElementId;
	}
	
	public Long getPreElementId(){
		return preElementId;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public String getName(){
		return name;
	}
	
	public void setType(String type){
		this.type = type;
	}
	
	public String getType(){
		return type;
	}

	public String getTypeNo() {
		return typeNo;
	}

	public void setTypeNo(String typeNo) {
		this.typeNo = typeNo;
	}

	public void setLevel(Integer level){
		this.level = level;
	}
	
	public Integer getLevel(){
		return level;
	}

	public Integer getUnit() {
		return unit;
	}

	public void setUnit(Integer unit) {
		this.unit = unit;
	}

	public void setCreatedDate(Date createdDate){
		this.createdDate = createdDate;
	}
	
	public Date getCreatedDate(){
		return createdDate;
	}
	
	public void setCreatedBy(String createdBy){
		this.createdBy = createdBy;
	}
	
	public String getCreatedBy(){
		return createdBy;
	}
	
	public void setUpdateDate(Date updateDate){
		this.updateDate = updateDate;
	}
	
	public Date getUpdateDate(){
		return updateDate;
	}
	
	public void setUpdateBy(String updateBy){
		this.updateBy = updateBy;
	}
	
	public String getUpdateBy(){
		return updateBy;
	}
	
}