package com.dl.common.constant;
|
|
/**
|
* 用户常量信息
|
*
|
* @author dl
|
*/
|
public interface UserConstants {
|
|
/**
|
* 平台内系统用户的唯一标志
|
*/
|
String SYS_USER = "SYS_USER";
|
|
/**
|
* 正常状态
|
*/
|
String NORMAL = "0";
|
|
/**
|
* 异常状态
|
*/
|
String EXCEPTION = "1";
|
|
/**
|
* 用户正常状态
|
*/
|
String USER_NORMAL = "0";
|
|
/**
|
* 用户封禁状态
|
*/
|
String USER_DISABLE = "1";
|
|
/**
|
* 角色正常状态
|
*/
|
String ROLE_NORMAL = "0";
|
|
/**
|
* 角色封禁状态
|
*/
|
String ROLE_DISABLE = "1";
|
|
/**
|
* 部门正常状态
|
*/
|
String DEPT_NORMAL = "0";
|
|
/**
|
* 部门停用状态
|
*/
|
String DEPT_DISABLE = "1";
|
|
/**
|
* 字典正常状态
|
*/
|
String DICT_NORMAL = "0";
|
|
/**
|
* 是否为系统默认(是)
|
*/
|
String YES = "Y";
|
|
/**
|
* 是否菜单外链(是)
|
*/
|
String YES_FRAME = "0";
|
|
/**
|
* 是否菜单外链(否)
|
*/
|
String NO_FRAME = "1";
|
|
/**
|
* 菜单正常状态
|
*/
|
String MENU_NORMAL = "0";
|
|
/**
|
* 菜单停用状态
|
*/
|
String MENU_DISABLE = "1";
|
|
/**
|
* 菜单类型(目录)
|
*/
|
String TYPE_DIR = "M";
|
|
/**
|
* 菜单类型(菜单)
|
*/
|
String TYPE_MENU = "C";
|
|
/**
|
* 菜单类型(按钮)
|
*/
|
String TYPE_BUTTON = "F";
|
|
/**
|
* Layout组件标识
|
*/
|
String LAYOUT = "Layout";
|
|
/**
|
* ParentView组件标识
|
*/
|
String PARENT_VIEW = "ParentView";
|
|
/**
|
* InnerLink组件标识
|
*/
|
String INNER_LINK = "InnerLink";
|
|
/**
|
* 用户名长度限制
|
*/
|
int USERNAME_MIN_LENGTH = 2;
|
int USERNAME_MAX_LENGTH = 20;
|
|
/**
|
* 密码长度限制
|
*/
|
int PASSWORD_MIN_LENGTH = 5;
|
int PASSWORD_MAX_LENGTH = 20;
|
|
/**
|
* 管理员ID
|
*/
|
String ADMIN_ID = "1";
|
|
}
|