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

📄 function.java

📁 asp制作的在线考试系统
💻 JAVA
字号:
package cn.hxex.exam.model;

import java.util.Set;

/**
 * The POJO about function
 * 
 * @hibernate.class table="FUNCTIONS"
 * 
 * @author galaxy
 * 
 */
public class Function extends Base
{
	/**
	 * Generated serival Version UID
	 */
	private static final long serialVersionUID = -5501059972392906798L;

	/**
	 * @hibernate.property column="NAME"
	 */
	private String name;

	/**
	 * @hibernate.property column="TITLE"
	 */
	private String title;

	/**
	 * @hibernate.set table="ROLE_FUNCTION" inverse="true" lazy="false"
	 * @hibernate.key column="FUNCTION_ID"
	 * @hibernate.many-to-many column="ROLE_ID" class="cn.hxex.exam.model.Role"
	 */
	private Set<Role> roles;

	/**
	 * @hibernate.set table="FUNCTION_ACTION" inverse="true" lazy="false"
	 * @hibernate.key column="FUNCTION_ID"
	 * @hibernate.many-to-many column="ACTION_ID"
	 *                         class="cn.hxex.exam.model.Action"
	 */
	private Set<Action> actions;

	/**
	 * @return Returns the actions.
	 */
	public Set<Action> getActions()
	{
		return actions;
	}

	/**
	 * @param actions
	 *            The actions to set.
	 */
	public void setActions(Set<Action> actions)
	{
		this.actions = actions;
	}

	/**
	 * @return Returns the name.
	 */
	public String getName()
	{
		return name;
	}

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

	/**
	 * @return Returns the title.
	 */
	public String getTitle()
	{
		return title;
	}

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

	/**
	 * @return Returns the roles.
	 */
	public Set<Role> getRoles()
	{
		return roles;
	}

	/**
	 * @param roles
	 *            The roles to set.
	 */
	public void setRoles(Set<Role> roles)
	{
		this.roles = roles;
	}

}

⌨️ 快捷键说明

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