popedom.java
来自「适合学生课程设计使用,这是我自己编写的一个系统.」· Java 代码 · 共 110 行
JAVA
110 行
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 + =
减小字号Ctrl + -
显示快捷键?