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

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

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

/**
 * 答题结果信息表
 * @author Administrator
 *
 */
public class QuestionnaireAnswerDetailed implements Serializable{
	
	private static final long serialVersionUID = -4407130342986068540L;
	private Integer detailedId;			//数据ID detailed_id
	private Integer detailedAnswerId;	//答题人-外间 detailed_answer_id
	private Integer detailedQuestionId;	//题目-外间 detailed_question_id
	private Integer detailedOptionId;	//选项-外间 detailed_option_id
	private Date 	detailedCreateDate;	//时间 detailed_create_date
	private Integer detailedScore;		//得分 detailed_score
	private Integer detailedStatus;		// 状态detailed_status 1:正常；2：删除
	private String  questionName;	//回答题目
	private String  optionName;	//回答选项
	private PageBean page = new PageBean(); //分页信息
	
	
	private Integer detailedType;

	private List<QuestionOptionDto> optionList; // 选项信息


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




	public QuestionnaireAnswerDetailed(Integer detailedId,
			Integer detailedAnswerId, Integer detailedQuestionId,
			Integer detailedOptionId, Date detailedCreateDate,
			Integer detailedScore, Integer detailedStatus) {
		super();
		this.detailedId = detailedId;
		this.detailedAnswerId = detailedAnswerId;
		this.detailedQuestionId = detailedQuestionId;
		this.detailedOptionId = detailedOptionId;
		this.detailedCreateDate = detailedCreateDate;
		this.detailedScore = detailedScore;
		this.detailedStatus = detailedStatus;
	}




	public Integer getDetailedType() {
		return detailedType;
	}




	public void setDetailedType(Integer detailedType) {
		this.detailedType = detailedType;
	}




	public List<QuestionOptionDto> getOptionList() {
		return optionList;
	}




	public void setOptionList(List<QuestionOptionDto> optionList) {
		this.optionList = optionList;
	}




	public static long getSerialversionuid() {
		return serialVersionUID;
	}




	public PageBean getPage() {
		return page;
	}




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




	public Integer getDetailedId() {
		return detailedId;
	}




	public void setDetailedId(Integer detailedId) {
		this.detailedId = detailedId;
	}




	public Integer getDetailedAnswerId() {
		return detailedAnswerId;
	}




	public void setDetailedAnswerId(Integer detailedAnswerId) {
		this.detailedAnswerId = detailedAnswerId;
	}




	public Integer getDetailedQuestionId() {
		return detailedQuestionId;
	}




	public void setDetailedQuestionId(Integer detailedQuestionId) {
		this.detailedQuestionId = detailedQuestionId;
	}




	public Integer getDetailedOptionId() {
		return detailedOptionId;
	}




	public void setDetailedOptionId(Integer detailedOptionId) {
		this.detailedOptionId = detailedOptionId;
	}




	public Date getDetailedCreateDate() {
		return detailedCreateDate;
	}




	public void setDetailedCreateDate(Date detailedCreateDate) {
		this.detailedCreateDate = detailedCreateDate;
	}




	public Integer getDetailedScore() {
		return detailedScore;
	}




	public void setDetailedScore(Integer detailedScore) {
		this.detailedScore = detailedScore;
	}




	public Integer getDetailedStatus() {
		return detailedStatus;
	}




	public void setDetailedStatus(Integer detailedStatus) {
		this.detailedStatus = detailedStatus;
	}




	public String getQuestionName() {
		return questionName;
	}




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




	public String getOptionName() {
		return optionName;
	}




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




	@Override
	public String toString() {
		return "QuestionnaireAnswerDetailed [detailedId=" + detailedId
				+ ", detailedAnswerId=" + detailedAnswerId
				+ ", detailedQuestionId=" + detailedQuestionId
				+ ", detailedOptionId=" + detailedOptionId
				+ ", detailedCreateDate=" + detailedCreateDate
				+ ", detailedScore=" + detailedScore + ", detailedStatus="
				+ detailedStatus + "]";
	}
	
	
	


}
