Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构

森中灵 最后提交于7月前 替换为8.0.5版本
ZmrMenu.java4KB
/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙,邂逅框架梦]
 * 
 * https://zhiqim.org/project/zhiqim_components/zhiqim_manager.htm
 *
 * Zhiqim Manager is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
package org.zhiqim.manager.dbo;

import java.io.Serializable;

import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;

/**
 * 系统菜单表 对应表《ZMR_MENU》
 */
@AnAlias("ZmrMenu")
@AnNew
@AnTable(table="ZMR_MENU", key="MENU_CODE", type="InnoDB")
public class ZmrMenu implements Serializable
{
    private static final long serialVersionUID = 1L;

    @AnTableField(column="PARENT_CODE", type="string,32", notNull=true)    private String parentCode;    //1.父类菜单编码
    @AnTableField(column="MENU_CODE", type="string,32", notNull=true)    private String menuCode;    //2.菜单编码
    @AnTableField(column="MENU_NAME", type="string,64", notNull=true)    private String menuName;    //3.菜单名称
    @AnTableField(column="MENU_NAME_ABBR", type="string,10", notNull=false)    private String menuNameAbbr;    //4.菜单名称简称
    @AnTableField(column="MENU_LEVEL", type="byte", notNull=true)    private int menuLevel;    //5.菜单级别:相对于根节点的级别
    @AnTableField(column="MENU_TYPE", type="byte", notNull=true)    private int menuType;    //6.菜单类型:0表示根节点;1表示枝节点;2表示属性
    @AnTableField(column="MENU_STATUS", type="byte", notNull=true)    private int menuStatus;    //7.菜单状态,0表示正常,1表示停用
    @AnTableField(column="MENU_ICON", type="string,32", notNull=false)    private String menuIcon;    //8.菜单图标
    @AnTableField(column="MENU_URL", type="string,100", notNull=false)    private String menuUrl;    //9.菜单对应的URL:1.当URL为空时不显示链接;2.URL允许多个path,之间用“,”分隔,链接采用第一个path;3.path作为权限的验证原子
    @AnTableField(column="MENU_DESC", type="string,100", notNull=false)    private String menuDesc;    //10.菜单描述

    public String toString()
    {
        return Jsons.toString(this);
    }

    public String getParentCode()
    {
        return parentCode;
    }

    public ZmrMenu setParentCode(String parentCode)
    {
        this.parentCode = parentCode;
        return this;
    }

    public String getMenuCode()
    {
        return menuCode;
    }

    public ZmrMenu setMenuCode(String menuCode)
    {
        this.menuCode = menuCode;
        return this;
    }

    public String getMenuName()
    {
        return menuName;
    }

    public ZmrMenu setMenuName(String menuName)
    {
        this.menuName = menuName;
        return this;
    }

    public String getMenuNameAbbr()
    {
        return menuNameAbbr;
    }

    public ZmrMenu setMenuNameAbbr(String menuNameAbbr)
    {
        this.menuNameAbbr = menuNameAbbr;
        return this;
    }

    public int getMenuLevel()
    {
        return menuLevel;
    }

    public ZmrMenu setMenuLevel(int menuLevel)
    {
        this.menuLevel = menuLevel;
        return this;
    }

    public int getMenuType()
    {
        return menuType;
    }

    public ZmrMenu setMenuType(int menuType)
    {
        this.menuType = menuType;
        return this;
    }

    public int getMenuStatus()
    {
        return menuStatus;
    }

    public ZmrMenu setMenuStatus(int menuStatus)
    {
        this.menuStatus = menuStatus;
        return this;
    }

    public String getMenuIcon()
    {
        return menuIcon;
    }

    public ZmrMenu setMenuIcon(String menuIcon)
    {
        this.menuIcon = menuIcon;
        return this;
    }

    public String getMenuUrl()
    {
        return menuUrl;
    }

    public ZmrMenu setMenuUrl(String menuUrl)
    {
        this.menuUrl = menuUrl;
        return this;
    }

    public String getMenuDesc()
    {
        return menuDesc;
    }

    public ZmrMenu setMenuDesc(String menuDesc)
    {
        this.menuDesc = menuDesc;
        return this;
    }
}