📄 function.java
字号:
/*
* @(#)Function.java Dec 14, 2006
* Copyright 2006 qingdaosoftware, Inc. All rights reserved
*/
package com.qrsx.exam.model;
import java.util.Set;
/**
*
* 功能:The POJO about function
*
* <p><a href="com.qrsx.exam.model.Function.java"> <i>View Source </i> </a></br>
*
* Company : QingdaoSoftware<br>
* Author : <a href="mailto:wxt1013@163.com">WangXitao</a></p>
* Version : 1.0<br>
* Date : Dec 14, 2006<br>
*
* @hibernate.class table="FUNCTIONS"
*
*/
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="com.qrsx.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="com.qrsx.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 + -