📄 authorities.java
字号:
package cn.com.sdcncsi.lunch.domain;
import java.util.HashSet;
import java.util.Set;
/**
* Authorities entity.
*
* @author MyEclipse Persistence Tools
*/
public class Authorities implements java.io.Serializable {
// Fields
private Integer id;
private Resources resources;
private Actions actions;
private String authorityName;
private String authorityUrl;
private String authorityNamespace;
private String authorityParam;
private Integer authorityLevel;
private Integer authorityOrder;
private Set roleAuthorities = new HashSet(0);
// Constructors
/** default constructor */
public Authorities() {
}
/** minimal constructor */
public Authorities(Resources resources, Actions actions,
String authorityName) {
this.resources = resources;
this.actions = actions;
this.authorityName = authorityName;
}
/** full constructor */
public Authorities(Resources resources, Actions actions,
String authorityName, String authorityUrl, String authorityNamespace, String authorityParam, Integer authorityLevel, Integer authorityOrder, Set roleAuthorities) {
this.resources = resources;
this.actions = actions;
this.authorityName = authorityName;
this.authorityUrl = authorityUrl;
this.authorityNamespace = authorityNamespace;
this.authorityParam = authorityParam;
this.roleAuthorities = roleAuthorities;
this.authorityLevel = authorityLevel;
this.authorityOrder = authorityOrder;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Resources getResources() {
return this.resources;
}
public void setResources(Resources resources) {
this.resources = resources;
}
public Actions getActions() {
return this.actions;
}
public void setActions(Actions actions) {
this.actions = actions;
}
public String getAuthorityName() {
return this.authorityName;
}
public void setAuthorityName(String authorityName) {
this.authorityName = authorityName;
}
public String getAuthorityUrl() {
return this.authorityUrl;
}
public void setAuthorityUrl(String authorityUrl) {
this.authorityUrl = authorityUrl;
}
public Set getRoleAuthorities() {
return this.roleAuthorities;
}
public void setRoleAuthorities(Set roleAuthorities) {
this.roleAuthorities = roleAuthorities;
}
/**
* @return the authorityNamespace
*/
public String getAuthorityNamespace() {
return authorityNamespace;
}
/**
* @param authorityNamespace the authorityNamespace to set
*/
public void setAuthorityNamespace(String authorityNamespace) {
this.authorityNamespace = authorityNamespace;
}
/**
* @return the authorityParam
*/
public String getAuthorityParam() {
return authorityParam;
}
/**
* @param authorityParam the authorityParam to set
*/
public void setAuthorityParam(String authorityParam) {
this.authorityParam = authorityParam;
}
/**
* @return the authorityLevel
*/
public Integer getAuthorityLevel() {
return authorityLevel;
}
/**
* @param authorityLevel the authorityLevel to set
*/
public void setAuthorityLevel(Integer authorityLevel) {
this.authorityLevel = authorityLevel;
}
/**
* @return the authorityOrder
*/
public Integer getAuthorityOrder() {
return authorityOrder;
}
/**
* @param authorityOrder the authorityOrder to set
*/
public void setAuthorityOrder(Integer authorityOrder) {
this.authorityOrder = authorityOrder;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -