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 QuestionnaireOption implements Serializable{
	

	private static final long serialVersionUID = -6326223576843442228L;

	private Integer 	optionId;				//选项id option_id
	private Integer 	optionQuesionId;		//所属题目-外检  option_quesion_id
	private String 	optionName;				//选项名称 option_name
	private Integer optionOrder;			//选项排序 option_order
	private Integer optionScore;			//选项分数 option_score
	private Date 	optionCreateDate;	
	private Date 	optionUpdateDate;	
	private Integer optionStatus;			//1:正常 2失效 option_status
	private Integer optionNumber; 			//选择次数 option_number
	private Integer optionIsChekcbox; 		//选项是否多选，1多选，2单选
	
	private String optionDesc; 		//选项简介，option_desc
	
	
	
	
	private PageBean page;					//分页
	
	public QuestionnaireOption() {
		super();
		// TODO Auto-generated constructor stub
	}

	public QuestionnaireOption(Integer optionId, Integer optionQuesionId,
			String optionName, Integer optionOrder, Integer optionScore,
			Date optionCreateDate, Date optionUpdateDate, Integer optionStatus,
			Integer optionNumber, PageBean page) {
		super();
		this.optionId = optionId;
		this.optionQuesionId = optionQuesionId;
		this.optionName = optionName;
		this.optionOrder = optionOrder;
		this.optionScore = optionScore;
		this.optionCreateDate = optionCreateDate;
		this.optionUpdateDate = optionUpdateDate;
		this.optionStatus = optionStatus;
		this.optionNumber = optionNumber;
		this.page = page;
	}

	
	
	
	
	public String getOptionDesc() {
		return optionDesc;
	}

	public void setOptionDesc(String optionDesc) {
		this.optionDesc = optionDesc;
	}

	public Integer getOptionId() {
		return optionId;
	}

	public void setOptionId(Integer optionId) {
		this.optionId = optionId;
	}

	public Integer getOptionQuesionId() {
		return optionQuesionId;
	}

	public void setOptionQuesionId(Integer optionQuesionId) {
		this.optionQuesionId = optionQuesionId;
	}

	public String getOptionName() {
		return optionName;
	}

	public void setOptionName(String optionName) {
		this.optionName = optionName;
	}

	public Integer getOptionOrder() {
		return optionOrder;
	}

	public void setOptionOrder(Integer optionOrder) {
		this.optionOrder = optionOrder;
	}

	public Integer getOptionScore() {
		return optionScore;
	}

	public void setOptionScore(Integer optionScore) {
		this.optionScore = optionScore;
	}

	public Date getOptionCreateDate() {
		return optionCreateDate;
	}

	public void setOptionCreateDate(Date optionCreateDate) {
		this.optionCreateDate = optionCreateDate;
	}

	public Date getOptionUpdateDate() {
		return optionUpdateDate;
	}

	public void setOptionUpdateDate(Date optionUpdateDate) {
		this.optionUpdateDate = optionUpdateDate;
	}

	public Integer getOptionStatus() {
		return optionStatus;
	}

	public void setOptionStatus(Integer optionStatus) {
		this.optionStatus = optionStatus;
	}

	public Integer getOptionNumber() {
		return optionNumber;
	}

	public void setOptionNumber(Integer optionNumber) {
		this.optionNumber = optionNumber;
	}

	public Integer getOptionIsChekcbox() {
		return optionIsChekcbox;
	}

	public void setOptionIsChekcbox(Integer optionIsChekcbox) {
		this.optionIsChekcbox = optionIsChekcbox;
	}

	public PageBean getPage() {
		return page;
	}

	public void setPage(PageBean page) {
		this.page = page;
	}

	@Override
	public String toString() {
		return "QuestionnaireOption [optionId=" + optionId
				+ ", optionQuesionId=" + optionQuesionId + ", optionName="
				+ optionName + ", optionOrder=" + optionOrder
				+ ", optionScore=" + optionScore + ", optionCreateDate="
				+ optionCreateDate + ", optionUpdateDate=" + optionUpdateDate
				+ ", optionStatus=" + optionStatus + ", optionNumber="
				+ optionNumber + ", optionIsChekcbox=" + optionIsChekcbox
				+ ", optionDesc=" + optionDesc + ", page=" + page + "]";
	}

	

}
