subject.java

来自「一个很实用的在线考试系统」· Java 代码 · 共 65 行

JAVA
65
字号
package com.study.vo;

public class Subject {
	//	 题目ID
	private int subjectid;
	//	 题目问题
	private String subjectquestion;
	//	 题目答案
	private String subjectanswer;
	//	 题目类型
	private int subjecttype;
	/**
	 * @return the subjecttype
	 */
	public int getSubjecttype() {
		return subjecttype;
	}
	/**
	 * @param subjecttype the subjecttype to set
	 */
	public void setSubjecttype(int subjecttype) {
		this.subjecttype = subjecttype;
	}
	public Subject(){
		subjectid  = 0;
	}
	/**
	 * @return the subjectanswer
	 */
	public String getSubjectanswer() {
		return subjectanswer;
	}
	/**
	 * @param subjectanswer the subjectanswer to set
	 */
	public void setSubjectanswer(String subjectanswer) {
		this.subjectanswer = subjectanswer;
	}
	/**
	 * @return the subjectid
	 */
	public int getSubjectid() {
		return subjectid;
	}
	/**
	 * @param subjectid the subjectid to set
	 */
	public void setSubjectid(int subjectid) {
		this.subjectid = subjectid;
	}
	/**
	 * @return the subjectquestion
	 */
	public String getSubjectquestion() {
		return subjectquestion;
	}
	/**
	 * @param subjectquestion the subjectquestion to set
	 */
	public void setSubjectquestion(String subjectquestion) {
		this.subjectquestion = subjectquestion;
	}
	
}

⌨️ 快捷键说明

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