2019-10-08 09:14:38 +08:00
|
|
|
package com.ruoyi.common.constant;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 用户常量信息
|
|
|
|
*
|
|
|
|
* @author ruoyi
|
|
|
|
*/
|
|
|
|
public class UserConstants
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* 平台内系统用户的唯一标志
|
|
|
|
*/
|
|
|
|
public static final String SYS_USER = "SYS_USER";
|
|
|
|
|
|
|
|
/** 正常状态 */
|
|
|
|
public static final String NORMAL = "0";
|
|
|
|
|
|
|
|
/** 异常状态 */
|
|
|
|
public static final String EXCEPTION = "1";
|
|
|
|
|
|
|
|
/** 用户封禁状态 */
|
2020-05-07 12:00:09 +08:00
|
|
|
public static final String USER_DISABLE = "1";
|
2019-10-08 09:14:38 +08:00
|
|
|
|
|
|
|
/** 角色封禁状态 */
|
2020-05-07 12:00:09 +08:00
|
|
|
public static final String ROLE_DISABLE = "1";
|
2019-10-08 09:14:38 +08:00
|
|
|
|
|
|
|
/** 部门正常状态 */
|
|
|
|
public static final String DEPT_NORMAL = "0";
|
2020-05-26 11:54:46 +08:00
|
|
|
|
2020-05-07 12:00:09 +08:00
|
|
|
/** 部门停用状态 */
|
|
|
|
public static final String DEPT_DISABLE = "1";
|
2019-10-08 09:14:38 +08:00
|
|
|
|
|
|
|
/** 字典正常状态 */
|
|
|
|
public static final String DICT_NORMAL = "0";
|
|
|
|
|
|
|
|
/** 是否为系统默认(是) */
|
|
|
|
public static final String YES = "Y";
|
|
|
|
|
2020-05-26 11:54:46 +08:00
|
|
|
/** 是否菜单外链(是) */
|
|
|
|
public static final String YES_FRAME = "0";
|
|
|
|
|
|
|
|
/** 是否菜单外链(否) */
|
|
|
|
public static final String NO_FRAME = "1";
|
|
|
|
|
2020-05-26 14:33:45 +08:00
|
|
|
/** 菜单类型(目录) */
|
|
|
|
public static final String TYPE_DIR = "M";
|
|
|
|
|
|
|
|
/** 菜单类型(菜单) */
|
|
|
|
public static final String TYPE_MENU = "C";
|
|
|
|
|
|
|
|
/** 菜单类型(按钮) */
|
|
|
|
public static final String TYPE_BUTTON = "F";
|
|
|
|
|
|
|
|
/** Layout组件标识 */
|
|
|
|
public final static String LAYOUT = "Layout";
|
|
|
|
|
2019-10-08 09:14:38 +08:00
|
|
|
/** 校验返回结果码 */
|
|
|
|
public final static String UNIQUE = "0";
|
|
|
|
public final static String NOT_UNIQUE = "1";
|
|
|
|
}
|