📄 role.java
字号:
package com.bluedot.domain;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class Role implements Serializable {
private int id;
private String name;
private List<User> users = new ArrayList<User>();
private Set<Fun> funs = new HashSet<Fun>();
private Set<Menu> menus = new HashSet<Menu>();
private Set<Fun> otherFuns = new HashSet<Fun>();
private Set<Menu> otherMenus = new HashSet<Menu>();
public Set<Fun> getOtherFuns() {
return otherFuns;
}
public void setOtherFuns(Set<Fun> otherFuns) {
this.otherFuns = otherFuns;
}
public Set<Menu> getOtherMenus() {
return otherMenus;
}
public void setOtherMenus(Set<Menu> otherMenus) {
this.otherMenus = otherMenus;
}
public Set<Fun> getFuns() {
return funs;
}
public void setFuns(Set<Fun> funs) {
this.funs = funs;
}
public Set<Menu> getMenus() {
return menus;
}
public void setMenus(Set<Menu> menus) {
this.menus = menus;
}
public List<User> getUsers() {
return users;
}
public void setUsers(List<User> users) {
this.users = users;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -