⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 role.java

📁 动态实现基于角色的权限管理Acegi+hibernate
💻 JAVA
字号:
package sample.mappings.role;

import java.util.HashSet;
import java.util.Set;

import sample.mappings.MisBean;

/**
 * @author Toez
 * 
 */
public class Role extends MisBean {

    private String name;
    private String roleType;
    private String possessionPopedom;
    private String enable;
    private String note;

    private Set users = new HashSet();
    private Set functions = new HashSet();

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getPossessionPopedom() {
        return possessionPopedom;
    }

    public void setPossessionPopedom(String possessionPopedom) {
        this.possessionPopedom = possessionPopedom;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public Set getUsers() {
        return users;
    }

    public void setUsers(Set users) {
        this.users = users;
    }

    public Set getFunctions() {
        return functions;
    }

    public void setFunctions(Set functions) {
        this.functions = functions;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -