⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 selected.java

📁 网上考试系统
💻 JAVA
字号:
package cn.hxex.exam.model;

/**
 * The pojo about Question
 * 
 * @hibernate.class table="SELECTED"
 * 
 * @author galaxy
 */
public class Selected extends Base implements Comparable
{
	/**
	 * @hibernate.property column="CONTENT"
	 */
	public String content;

	/**
	 * @hibernate.property column="ITEM"
	 */
	public String item;

	/**
	 * @hibernate.many-to-one column="QUESTION_ID"
	 */
	public SelectQuestion selectquestion;

	/**
	 * @return Returns the selectquestion.
	 */
	public SelectQuestion getSelectquestion()
	{
		return selectquestion;
	}

	/**
	 * @param selectquestion
	 *            The selectquestion to set.
	 */
	public void setSelectquestion(SelectQuestion selectquestion)
	{
		this.selectquestion = selectquestion;
	}

	/**
	 * @return Returns the content.
	 */
	public String getContent()
	{
		return content;
	}

	/**
	 * @param content
	 *            The content to set.
	 */
	public void setContent(String content)
	{
		this.content = content;
	}

	public int compareTo(Object o)
	{
		if (this == o)
			return 0;

		if (o == null)
			return 1;

		Selected s = (Selected) o;
		return getItem().compareTo(s.getItem());
	}

	/**
	 * @return Returns the item.
	 */
	public String getItem()
	{
		return item;
	}

	/**
	 * @param item
	 *            The item to set.
	 */
	public void setItem(String item)
	{
		this.item = item;
	}
}

⌨️ 快捷键说明

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