package cn.gov.customs.wxjy.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
    /**
     * 国家信息
     */
    public static final String COUNTRY_CODE = "bus_country:";
    /**
     * 商品类别
     */
    public static final String GOODS_CATEGORY_CODE = "bus_goodscategory:";
    /**
     * 部门信息
     */
    public static final String SYS_DEPT_CODE = "bus_sysdept:";
    /**
     * 所属关区信息
     */
    public static final String ORG_DEPT_CODE = "bus_orgdept:";
    /**
     * 企业备案号获取企业信息
     */
    public static final String DEPT_CODE = "bus_dept:";

    public static final String ENTERPRICE_INFO_CODE = "bus_enterprice_info:";
    /**
     * 商品类别获取监管频次信息
     */
    public static final String SUPERVISE_FREQUENCY_CODE = "supervise_frequency_info:";

    /**
     * 获取隶属关关区
     */
    public static final String ORG_CUSTOMS_CODE = "bus_customscode:";

    public static final String ORG_CUSTOMS_GUID = "bus_customs_guid:";

    public static final String ORG_USER_GUID = "bus_user_guid:";

    public static final String USER_BY_NAME = "bus_user_name:";
}
