questions.java

来自「在线考试功能」· Java 代码 · 共 62 行

JAVA
62
字号
package com.onlinestudy.domain;

import org.hibernate.mapping.Set;

public class Questions {
	
	int id;
	
	String contents;
	
	String rightAnswer;
	
	QuestionType type;
	
	Set exam;

	public int getId() {
		return id;
	}

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

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getRightAnswer() {
		return rightAnswer;
	}

	public void setRightAnswer(String rightAnswer) {
		this.rightAnswer = rightAnswer;
	}

	public QuestionType getType() {
		return type;
	}

	public void setType(QuestionType type) {
		this.type = type;
	}

	public Set getExam() {
		return exam;
	}

	public void setExam(Set exam) {
		this.exam = exam;
	}
	




}

⌨️ 快捷键说明

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