questiontable.java

来自「在线考试系统」· Java 代码 · 共 90 行

JAVA
90
字号
package exam.dao;

/**
 * QuestionTable entity. @author MyEclipse Persistence Tools
 */

public class QuestionTable implements java.io.Serializable {

	// Fields

	private QuestionTableId id;
	private String content;
	private String explain;
	private String difficultydegree;
	private String answerexplain;
	private String answercontent;

	// Constructors

	/** default constructor */
	public QuestionTable() {
	}

	/** minimal constructor */
	public QuestionTable(QuestionTableId id) {
		this.id = id;
	}

	/** full constructor */
	public QuestionTable(QuestionTableId id, String content, String explain,
			String difficultydegree, String answerexplain, String answercontent) {
		this.id = id;
		this.content = content;
		this.explain = explain;
		this.difficultydegree = difficultydegree;
		this.answerexplain = answerexplain;
		this.answercontent = answercontent;
	}

	// Property accessors

	public QuestionTableId getId() {
		return this.id;
	}

	public void setId(QuestionTableId id) {
		this.id = id;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getExplain() {
		return this.explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}

	public String getDifficultydegree() {
		return this.difficultydegree;
	}

	public void setDifficultydegree(String difficultydegree) {
		this.difficultydegree = difficultydegree;
	}

	public String getAnswerexplain() {
		return this.answerexplain;
	}

	public void setAnswerexplain(String answerexplain) {
		this.answerexplain = answerexplain;
	}

	public String getAnswercontent() {
		return this.answercontent;
	}

	public void setAnswercontent(String answercontent) {
		this.answercontent = answercontent;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?