package com.haha.common.constant;

/**
 * Redis键常量类
 */
public class RedisConstants {
    
    /**
     * Sa-Token 用户Token键前缀
     */
    public static final String SA_TOKEN_USER_TOKEN_KEY = "sa:token:%s";
    
    /**
     * Sa-Token 用户登录ID键前缀
     */
    public static final String SA_TOKEN_USER_LOGIN_ID_KEY = "sa:loginid:%s";
    
    /**
     * 设备状态键前缀
     */
    public static final String DEVICE_STATUS_KEY = "device:status:%s";
    
    /**
     * 用户信息键前缀
     */
    public static final String USER_INFO_KEY = "user:info:%s";
    
    private RedisConstants() {
        // 私有构造函数，防止实例化
    }
}
