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

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

import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * 试卷表
 * @author Administrator
 *
 */
public class QuestionnairePaper implements Serializable{
	
	
	private static final long serialVersionUID = -8394580482131757563L;
	
	private Integer   	paperId;				//试卷id paper_id
	private String 	paperName;			//试卷名称 paper_name
	private String 	paperPic;			//试卷图标 paper_pic
	private Integer paperNumber;		//试卷回答次数 paper_number
	private Integer paperShareNumber;	//分享次数 paper_share_number
	
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date 	paperCreateDate;		//创建时间  paper_create_date
	private Integer paperStatus;		//试卷状态1、正常2不正常 paper_status
	private Integer pageStartMonth;		//月龄开始
	private Integer pageEndMonth;		//月龄结束
	private PageBean page;					//分页

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

	
	
	
	public QuestionnairePaper(Integer paperId, String paperName, String paperPic,
			Integer paperNumber, Integer paperShareNumber,
			Date paperCreateDate, Integer paperStatus, PageBean page) {
		super();
		this.paperId = paperId;
		this.paperName = paperName;
		this.paperPic = paperPic;
		this.paperNumber = paperNumber;
		this.paperShareNumber = paperShareNumber;
		this.paperCreateDate = paperCreateDate;
		this.paperStatus = paperStatus;
		this.pageStartMonth = pageStartMonth;
		this.pageEndMonth = pageEndMonth;
		this.page = page;
	}




	public PageBean getPage() {
		return page;
	}


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


	public Integer getPaperId() {
		return paperId;
	}


	public void setPaperId(Integer paperId) {
		this.paperId = paperId;
	}


	public String getPaperName() {
		return paperName;
	}


	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}


	public String getPaperPic() {
		return paperPic;
	}


	public void setPaperPic(String paperPic) {
		this.paperPic = paperPic;
	}


	public Integer getPaperNumber() {
		return paperNumber;
	}


	public void setPaperNumber(Integer paperNumber) {
		this.paperNumber = paperNumber;
	}


	public Integer getPaperShareNumber() {
		return paperShareNumber;
	}


	public void setPaperShareNumber(Integer paperShareNumber) {
		this.paperShareNumber = paperShareNumber;
	}





	public Date getPaperCreateDate() {
		return paperCreateDate;
	}


	public void setPaperCreateDate(Date paperCreateDate) {
		this.paperCreateDate = paperCreateDate;
	}


	public Integer getPaperStatus() {
		return paperStatus;
	}


	public void setPaperStatus(Integer paperStatus) {
		this.paperStatus = paperStatus;
	}




	public Integer getPageStartMonth() {
		return pageStartMonth;
	}




	public void setPageStartMonth(Integer pageStartMonth) {
		this.pageStartMonth = pageStartMonth;
	}




	public Integer getPageEndMonth() {
		return pageEndMonth;
	}




	public void setPageEndMonth(Integer pageEndMonth) {
		this.pageEndMonth = pageEndMonth;
	}




	@Override
	public String toString() {
		return "QuestionnairePaper [paperId=" + paperId + ", paperName="
				+ paperName + ", paperPic=" + paperPic + ", paperNumber="
				+ paperNumber + ", paperShareNumber=" + paperShareNumber
				+ ", paperCreateDate=" + paperCreateDate + ", paperStatus="
				+ paperStatus + ",pageStartMonth=" + pageStartMonth + ",pageEndMonth=" + pageEndMonth + ","
						+ " page=" + page + "]";
	}





	
	
	
}
