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

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.Date;


/**
 * 导师类型
 *
 * @author 吕伟峰
 * @email www.justintoforest@gamail.com
 * @url 
 * @date 2018-09-27
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "personnel_advisor_type")
public class PersonnelAdvisorType implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * 
     */
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
     * 导师职位名称（1导航师  2辅导员）
     */
 	@Column(name="advisor_type")
    private String advisorType;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createdDate;
    /**
     * 创建人
     */
 	@Column(name="created_by")
    private String createdBy;
    /**
     * 创建人名字
     */
 	@Column(name="created_name")
    private String createdName;
    /**
     * 修改时间
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updatedDate;
    /**
     * 修改人
     */
 	@Column(name="updated_by")
    private String updatedBy;
    public PersonnelAdvisorType() {
          super();
    }
    public void setId(Integer id) {
          this.id = id;
    }
	
    public Integer getId() {
          return id;
    }
    public void setAdvisorType(String advisorType) {
          this.advisorType = advisorType;
    }
	
    public String getAdvisorType() {
          return advisorType;
    }
    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 setCreatedName(String createdName) {
          this.createdName = createdName;
    }
	
    public String getCreatedName() {
          return createdName;
    }
    public void setUpdatedDate(Date updatedDate) {
          this.updatedDate = updatedDate;
    }
	
    public Date getUpdatedDate() {
          return updatedDate;
    }
    public void setUpdatedBy(String updatedBy) {
          this.updatedBy = updatedBy;
    }
	
    public String getUpdatedBy() {
          return updatedBy;
    }
}
