module.java

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

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

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


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

    /** identifier field */
    private Integer moduleNo;

    /** persistent field */
    private String moduleName;

    /** persistent field */
    private long parentId;

    /** persistent field */
    private String haschild;

    /** persistent field */
    private Set actions;

    /** full constructor */
    public Module(String moduleName, long parentId, String haschild, Set actions) {
        this.moduleName = moduleName;
        this.parentId = parentId;
        this.haschild = haschild;
        this.actions = actions;
    }

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

    public Integer getModuleNo() {
        return this.moduleNo;
    }

    public void setModuleNo(Integer moduleNo) {
        this.moduleNo = moduleNo;
    }

    public String getModuleName() {
        return this.moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public long getParentId() {
        return this.parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getHaschild() {
        return this.haschild;
    }

    public void setHaschild(String haschild) {
        this.haschild = haschild;
    }

    public Set getActions() {
        return this.actions;
    }

    public void setActions(Set actions) {
        this.actions = actions;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("moduleNo", getModuleNo())
            .toString();
    }

}

⌨️ 快捷键说明

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