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

import java.io.Serializable;
import java.util.Date;

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;

/**
 * 调查表
 *
 * @author 吕伟峰
 * @email 
 * @url 
 * @date 2018-08-13
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "canteen_score")
public class CanteenScore  implements Serializable{
	 private static final long serialVersionUID = 1L;
	
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    
    
   /**
    * 员工ID
    */
    @Column(name="staff_id")
    private String staffId;
    
    /**
     * 员工姓名
     */
    @Column(name="name")
    private String name;
    
    /**
     * 员工部门名称
     */
     @Column(name="depname")
     private String depname;
        
    /**
     * 调查表ID
     */
    @Column(name="investigate_id")
    private Integer investigateId;
    
    /**
     * 问题ID
     */
 	@Column(name="problem_id")
    private Integer problemId;
 	/**
     * 选项id
     */
 	@Column(name="questionnaire_problem_option_id")
    private Integer questionnaireproblemoptionId;
    /**
     * 得分
     */
 	@Column(name="score")
    private Integer score;
    /**
     * 答案
     */
 	@Column(name="answer")
    private String answer;
    /**
     * 标识字段（0:false，1:true）
     */
 	@Column(name="flag")
    private Integer flag;
    /**
     * 创建人
     */
 	@Column(name="create_by")
    private String createBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改人
     */
 	@Column(name="update_by")
    private String updateBy;
    /**
     * 修改时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    public CanteenScore() {
        super();
  }
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getStaffId() {
		return staffId;
	}
	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}
	public Integer getInvestigateId() {
		return investigateId;
	}
	public void setInvestigateId(Integer investigateId) {
		this.investigateId = investigateId;
	}
	public Integer getProblemId() {
		return problemId;
	}
	public void setProblemId(Integer problemId) {
		this.problemId = problemId;
	}
	public Integer getQuestionnaireproblemoptionId() {
		return questionnaireproblemoptionId;
	}
	public void setQuestionnaireproblemoptionId(Integer questionnaireproblemoptionId) {
		this.questionnaireproblemoptionId = questionnaireproblemoptionId;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getDepname() {
		return depname;
	}
	public void setDepname(String depname) {
		this.depname = depname;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
    
    

}
