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 www.yuhi.com.cn
 * @date 2018-07-10
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "personnel")
public class Personnel implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * 
     */
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
     * 关联人员编号
     */
 	@Column(name="user_id")
    private String userId;
    /**
     * 人才名称
     */
 	@Column(name="name")
    private String name;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createdDate;
    /**
     * 创建人
     */
 	@Column(name="created_by")
    private String createdBy;
    /**
     * 更新时间
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updatedDate;
    /**
     * 更新人
     */
 	@Column(name="updated_by")
    private String updatedBy;
    public Personnel() {
          super();
    }
    public void setId(Integer id) {
          this.id = id;
    }
	
    public Integer getId() {
          return id;
    }
    public void setUserId(String userId) {
          this.userId = userId;
    }
	
    public String getUserId() {
          return userId;
    }
    public void setName(String name) {
          this.name = name;
    }
	
    public String getName() {
          return name;
    }
    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 setUpdatedDate(Date updatedDate) {
          this.updatedDate = updatedDate;
    }
	
    public Date getUpdatedDate() {
          return updatedDate;
    }
    public void setUpdatedBy(String updatedBy) {
          this.updatedBy = updatedBy;
    }
	
    public String getUpdatedBy() {
          return updatedBy;
    }
}
