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

📄 role.java

📁 java实现安全系统的开源代码 java实现安全系统的开源代码
💻 JAVA
字号:
package com.starit.model;

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


/**
 * Roles generated by MyEclipse - Hibernate Tools
 */

public class Role  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String roleName;
     private String res;
     private Boolean enabled;
     private Set weburlRole = new HashSet(0);


    // Constructors

    /** default constructor */
    public Role() {
    }

    
    /** full constructor */
    public Role(String roleName, String res, Boolean enable, Set weburlRole) {
        this.roleName = roleName;
        this.res = res;
        this.enabled = enable;
        this.weburlRole = weburlRole;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return this.roleName;
    }
    
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRes() {
        return this.res;
    }
    
    public void setRes(String res) {
        this.res = res;
    }

	public Boolean getEnabled() {
		return enabled;
	}


	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

    public Set getWeburlRole() {
        return this.weburlRole;
    }
    
    public void setWeburlRole(Set weburlRole) {
        this.weburlRole = weburlRole;
    }
   








}

⌨️ 快捷键说明

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