首页>代码>基于Spring Boot+Apache Shiro+Thymeleaf+MyBatis开发的网站后台权限管理系统>/RuoYi/src/main/java/com/ruoyi/common/constant/UserConstants.java
package com.ruoyi.common.constant;

/**
 * 用户常量信息
 * 
 * @author ruoyi
 */
public class UserConstants
{

    /** 正常状态 */
    public static final int NORMAL = 0;

    /** 异常状态 */
    public static final int EXCEPTION = 1;

    /** 用户封禁状态 */
    public static final String USER_BLOCKED = "1";

    /** 角色封禁状态 */
    public static final String ROLE_BLOCKED = "1";

    /**
     * 用户名长度限制
     */
    public static final int USERNAME_MIN_LENGTH = 2;
    public static final int USERNAME_MAX_LENGTH = 10;

    /** 名称是否唯一的返回结果码 */
    public final static String NAME_UNIQUE = "0";
    public final static String NAME_NOT_UNIQUE = "1";

    /**
     * 密码长度限制
     */
    public static final int PASSWORD_MIN_LENGTH = 5;
    public static final int PASSWORD_MAX_LENGTH = 20;

}
最近下载更多
managment  LV3 4月17日
m5433661  LV2 3月28日
formatself1  LV2 1月28日
2917476324  LV2 2023年12月21日
Seaskye  LV14 2023年11月4日
Tunduswith  LV15 2023年10月31日
qiqi123456  LV1 2023年9月20日
1048571230  LV2 2023年9月20日
9323249323  LV13 2023年9月18日
๑๑陌上花开  LV14 2023年9月1日
最近浏览更多
12345644 昨天
暂无贡献等级
managment  LV3 4月17日
itlaolang  LV5 4月12日
m5433661  LV2 3月28日
 LV7 3月25日
烟橙沐雨  LV1 3月21日
yangyang567  LV1 3月8日
formatself1  LV2 2月6日
做自己的太阳  LV11 2月1日
2890892945  LV2 2023年12月31日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友