package com.iamberry.wechat.core.entity.questionnaire;

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

import com.iamberry.wechat.core.entity.PageBean;

/**
 * 题目-表
 * @author Administrator
 *
 */
public class QuestionnaireQuestion implements Serializable{
	
	private static final long serialVersionUID = 1667164673597708491L;
	private Integer   	questionId;			//题目id question_id
	private String 	questionName;		//题目名称 question_name
	private String 	questionPic ; 		//题目图标 question_pic
	private String 	questionDesc;		//题目简介 question_desc
	private Integer questionType;		//题目类型 question_type 请求类型、1饮食、2健康 3、营养
	private Date 	questionUpdateDate;	//修改时间  question_update_date
	private Date 	questionCreateDate;	//创建时间 question_create_date
	private Integer questionStatu;		//1:正常使用 2:已经停止使用 question_statu
	private Integer questionIsChekcbox;	//题目是否多选 1:多选 2:单选 question_is_chekcbox
	private Integer questionCalculation;//题目计算方式 1累计，2最高分 question_calculation
	private Integer questionPaperId;	//所属试卷  question_paper_id
	
	
	

	public QuestionnaireQuestion() {
		super();
		// TODO Auto-generated constructor stub
	}




	public QuestionnaireQuestion(Integer questionId, String questionName,
			String questionPic, String questionDesc, Integer questionType,
			Date questionUpdateDate, Date questionCreateDate,
			Integer questionStatu, Integer questionIsChekcbox,
			Integer questionCalculation, Integer questionPaperId) {
		super();
		this.questionId = questionId;
		this.questionName = questionName;
		this.questionPic = questionPic;
		this.questionDesc = questionDesc;
		this.questionType = questionType;
		this.questionUpdateDate = questionUpdateDate;
		this.questionCreateDate = questionCreateDate;
		this.questionStatu = questionStatu;
		this.questionIsChekcbox = questionIsChekcbox;
		this.questionCalculation = questionCalculation;
		this.questionPaperId = questionPaperId;
	}




	public Integer getQuestionId() {
		return questionId;
	}




	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}




	public String getQuestionName() {
		return questionName;
	}




	public void setQuestionName(String questionName) {
		this.questionName = questionName;
	}




	public String getQuestionPic() {
		return questionPic;
	}




	public void setQuestionPic(String questionPic) {
		this.questionPic = questionPic;
	}




	public String getQuestionDesc() {
		return questionDesc;
	}




	public void setQuestionDesc(String questionDesc) {
		this.questionDesc = questionDesc;
	}




	public Integer getQuestionType() {
		return questionType;
	}




	public void setQuestionType(Integer questionType) {
		this.questionType = questionType;
	}




	public Date getQuestionUpdateDate() {
		return questionUpdateDate;
	}




	public void setQuestionUpdateDate(Date questionUpdateDate) {
		this.questionUpdateDate = questionUpdateDate;
	}




	public Date getQuestionCreateDate() {
		return questionCreateDate;
	}




	public void setQuestionCreateDate(Date questionCreateDate) {
		this.questionCreateDate = questionCreateDate;
	}




	public Integer getQuestionStatu() {
		return questionStatu;
	}




	public void setQuestionStatu(Integer questionStatu) {
		this.questionStatu = questionStatu;
	}




	public Integer getQuestionIsChekcbox() {
		return questionIsChekcbox;
	}




	public void setQuestionIsChekcbox(Integer questionIsChekcbox) {
		this.questionIsChekcbox = questionIsChekcbox;
	}




	public Integer getQuestionCalculation() {
		return questionCalculation;
	}




	public void setQuestionCalculation(Integer questionCalculation) {
		this.questionCalculation = questionCalculation;
	}




	public Integer getQuestionPaperId() {
		return questionPaperId;
	}




	public void setQuestionPaperId(Integer questionPaperId) {
		this.questionPaperId = questionPaperId;
	}



	@Override
	public String toString() {
		return "QuestionnaireQuestion [questionId=" + questionId
				+ ", questionName=" + questionName + ", questionPic="
				+ questionPic + ", questionDesc=" + questionDesc
				+ ", questionType=" + questionType + ", questionUpdateDate="
				+ questionUpdateDate + ", questionCreateDate="
				+ questionCreateDate + ", questionStatu=" + questionStatu
				+ ", questionIsChekcbox=" + questionIsChekcbox
				+ ", questionCalculation=" + questionCalculation
				+ ", questionPaperId=" + questionPaperId 
				+ "]";
	}

	
	
	
	
	
}
