package com.github.tangyi.user.api.constant;

/**
 * @author tangyi
 * @date 2018/10/28 15:48
 */
public class MenuConstant {

    /**
     * 菜单
     */
    public static final Integer MENU_TYPE_MENU = 0;

    /**
     * 权限
     */
    public static final Integer MENU_TYPE_PERMISSION = 1;

    /**
     * 新增
     */
    public static final String PERMISSION_ADD = "新增";

    /**
     * 删除
     */
    public static final String PERMISSION_DELETE = "删除";

    /**
     * 修改
     */
    public static final String PERMISSION_MODIFY = "修改";

    /**
     * 新增
     */
    public static final String PERMISSION_SUFFIX_ADD = ":add";

    /**
     * 删除
     */
    public static final String PERMISSION_SUFFIX_DELETE = ":del";

    /**
     * 修改
     */
    public static final String PERMISSION_SUFFIX_MODIFY = ":edit";

    public static final String MENU_SYS = "sys";

	/**
	 * 终端管理
	 */
	public static final String MENU_CLIENT = "sys:client";

	/**
	 * 路由管理
	 */
	public static final String MENU_ROUTE = "sys:route";

	/**
	 * 租户中心
	 */
	public static final String MENU_TENANT = "tenant";

	/**
	 * 系统监控
	 */
	public static final String MENU_MONITOR = "monitor";

}

