📄 popedom.java
字号:
package bean;
import java.util.Set;
import java.util.HashSet;
/**
* @author Administrator
*/
public class popedom {
/**
* @uml.property name="id"
*/
private String id; //权限ID
/**
* @uml.property name="name"
*/
private String name; //权限名称
/**
* @uml.property name="typeNum"
*/
private int typeNum; //权限标识号
/**
* @uml.property name="description"
*/
private String description; //权限描述
private Set<role> rol = new HashSet<role>();//与角色为多对多关系
public popedom() {}
/**
* @param id The id to set.
* @uml.property name="id"
*/
public void setId(String id) {
this.id = id;
}
/**
* @return Returns the id.
* @uml.property name="id"
*/
public String getId() {
return this.id;
}
/**
* @param name The name to set.
* @uml.property name="name"
*/
public void setName(String name) {
this.name = name;
}
/**
* @return Returns the name.
* @uml.property name="name"
*/
public String getName() {
return this.name;
}
/**
* @param typeNum The typeNum to set.
* @uml.property name="typeNum"
*/
public void setTypeNum(int typeNum) {
this.typeNum = typeNum;
}
/**
* @return Returns the typeNum.
* @uml.property name="typeNum"
*/
public int getTypeNum() {
return this.typeNum;
}
/**
* @param description The description to set.
* @uml.property name="description"
*/
public void setDescription(String description) {
this.description = description;
}
/**
* @return Returns the description.
* @uml.property name="description"
*/
public String getDescription() {
return this.description;
}
/**
* @param rol The rol to set.
* @uml.property name="rol"
*/
public void setRol(Set<role> rol) {
this.rol = rol;
}
/**
* @return Returns the rol.
* @uml.property name="rol"
*/
public Set<role> getRol() {
return this.rol;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -