package com.jy.framework.model.constants;

import com.baomidou.mybatisplus.core.toolkit.StringPool;

/**
 * redis常量
 */
public interface RedisConstant {

    /**
     * 锁定用户 redis key前缀
     */
    String LOCK_USER_KEY = "lockUser" + StringPool.COLON;

    /**
     * 验证码 redis key前缀
     */
    String CAPTCHA_CODE_KEY = "captchaCode" + StringPool.COLON;

    /**
     * sysConfig redis key
     */
    String CONFIG_KEY = "sysConfig" + StringPool.COLON;

    /**
     * sysDict redis key
     */
    String DICT_KEY = "sysDict" + StringPool.COLON;

    /**
     * sysPermission redis key
     */
    String PERMISSION_KEY = "permission";

}
