role.java

来自「一个java权限系统.主要使用j2ee框架实现.」· Java 代码 · 共 106 行

JAVA
106
字号
package com.wxd.common.popedom.domain.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class Role implements Serializable {

    /** identifier field */
    private Integer roleNo;

    /** persistent field */
    private String roleId;

    /** persistent field */
    private String roleName;

    /** nullable persistent field */
    private String roleDescribe;

    /** nullable persistent field */
    private String isSys;

    /** persistent field */
    private List roleActions;

    /** full constructor */
    public Role(String roleId, String roleName, String roleDescribe, String isSys, List roleActions) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleDescribe = roleDescribe;
        this.isSys = isSys;
        this.roleActions = roleActions;
    }

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

    /** minimal constructor */
    public Role(String roleId, String roleName, List roleActions) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleActions = roleActions;
    }

    public Integer getRoleNo() {
        return this.roleNo;
    }

    public void setRoleNo(Integer roleNo) {
        this.roleNo = roleNo;
    }

    public String getRoleId() {
        return this.roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

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

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

    public String getRoleDescribe() {
        return this.roleDescribe;
    }

    public void setRoleDescribe(String roleDescribe) {
        this.roleDescribe = roleDescribe;
    }

    public String getIsSys() {
        return this.isSys;
    }

    public void setIsSys(String isSys) {
        this.isSys = isSys;
    }

    public List getRoleActions() {
        return this.roleActions;
    }

    public void setRoleActions(List roleActions) {
        this.roleActions = roleActions;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("roleNo", getRoleNo())
            .append("+roleId", this.getRoleId())
            .toString();
    }

}

⌨️ 快捷键说明

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