role.java

来自「java实现安全系统的开源代码 java实现安全系统的开源代码」· Java 代码 · 共 90 行

JAVA
90
字号
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 + =
减小字号Ctrl + -
显示快捷键?