question.java

来自「一个采用HIBERNET」· Java 代码 · 共 96 行

JAVA
96
字号
package org.yeeku.model;

import java.io.Serializable;

public class Question  implements Serializable
{
	private int id;
	private String quTitle;
	private String quHard;
	private String quScore;
	private String quAnswer;
	private String quType;
	private String selectOption;
	private ExamType examType;
	public Question()
	{
	}
	public Question(String quTitle,String quHard,String quScore,
		String quAnswer,String quType,String selectOption , ExamType examType)
	{
		this.quTitle = quTitle;
		this.quHard = quHard;
		this.quScore = quScore;
		this.quAnswer = quAnswer;
		this.quType = quType;
		this.selectOption = selectOption;
		this.examType = examType;
	}

	public void setSelectOption(String selectOption)
	{
		this.selectOption = selectOption;
	}
	public String getSelectOption()
	{
		return this.selectOption;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public void setExamType(ExamType examType)
	{
		this.examType = examType;
	}
	public void setQuTitle(String quTitle)
	{
		this.quTitle = quTitle;
	}
	public void setQuHard(String quHard)
	{
		this.quHard = quHard;
	}
	public void setQuScore(String quScore)
	{
		this.quScore = quScore;
	}
	public void setQuAnswer(String quAnswer)
	{
		this.quAnswer = quAnswer;
	}
	public void setQuType(String quType)
	{
		this.quType = quType;
	}

	public int getId()
	{
		return this.id;
	}
	public String getQuTitle()
	{
		return this.quTitle;
	}
	public String getQuHard()
	{
		return this.quHard;
	}
	public String getQuScore()
	{
		return this.quScore;
	}
	public String getQuAnswer()
	{
		return this.quAnswer;
	}
	public String getQuType()
	{
		return this.quType;
	}
	public ExamType getExamType()
	{
		return this.examType;
	}
}

⌨️ 快捷键说明

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