/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ifish.util;

/**
 *
 * @author Administrator
 */
public class RedisKey {

    /**
     * 用户缓存前缀,以id进行存储
     */
    public static final String USER_ID_KEY = "userE:id_";

    /**
     * 用户缓存前缀,以手机号进行存储
     */
    public static final String USER_PHONE = "userE:ph_";
    /**
     * 用户缓存前缀,以邮箱进行存储
     */
    public static final String USER_EMAIL = "userE:ema_";

    /**
     * 用户缓存前缀，以token进行存储
     */
    public static final String USER_TOKEN = "userE:to_";

    /**
     * 设备用户关系缓存前缀，以设备ID和用户ID进行存储
     */
    public static final String DEVICE_USER_DEVICEID_AND_USERID = "deviceUserE:";

    /**
     * 设备用户关系缓存前缀（列表），以设备ID进行存储
     */
    public static final String DEVICE_USER_LIST_DEVICEID = "deviceUserlistE:id_";

    /**
     * 设备用户关系缓存前缀（列表），以用户ID进行存储
     */
    public static final String DEVICE_USER_LIST_USERID = "deviceUserlistE:u_";

    /**
     * 设备详情缓存前缀，以macAddress进行存储
     */
    public static final String DEVICE_KEY_MACADDRESS = "deviceE:mac_";

    /**
     * 设备详情缓存前缀，以deviceId进行存储
     */
    public static final String DEVICE_KEY_DEVICEID = "deviceE:id_";

    /**
     * 设备详情缓存前缀，以摄像头ID进行存储
     */
    public static final String DEVICE_KEY_CAMERAID = "deviceE:cid_";

    /**
     * 设备统计信息表缓存前缀,以deviceId为前缀
     */
    public static final String DEVICE_STATISTICS_DEVICEID = "devicestatiE:id_";

    /**
     * 设备统计信息表缓存前缀,以mac地址为前缀
     */
    public static final String DEVICE_STATISTICS_MACADDRESS = "devicestatiE:mac_";

    /**
     * 设备类型缓存前缀
     */
    public static final String HARD_WARE_TYPE = "hardwaretypeE:";

    /**
     * 鱼缸厂统计表缓存前缀，以鱼缸场代码进行存储
     */
    public static final String VENDER_CODE = "tblvenderE:code_";

    /**
     * 直播间详情表缓存前缀，以直播间ID进行存储
     */
    public static final String LIVEROOM_ROOMID = "liveroomE:id_";

    /**
     * 直播间详情表缓存前缀，以直播间ID进行存储
     */
    public static final String LIVEROOM_USERID = "liveroomE:uid_";

    /**
     * 直播间列表缓存前缀，以分页和排序条件进行存储
     */
    public static final String LIVEROMM_LIST = "liveroomlistE:";

    /**
     * 所有开启的直播间缓存总数
     */
    public static final String LIVEROOM_COUNT = "liveroomE:num_";

    /**
     * 指定直播间评论列表
     */
    public static final String LIVEMESSAGE_ROOMID = "livemessageE:rid_";

    /**
     * 推送信息表缓存前缀，以推送Id进行存储
     */
    public static final String PUSHLIST_PUSHID = "pushlistE:id_";

    /**
     * 邮箱验证有效缓存key
     */
    public static final String EMAIL_REGIESTER = "emailkeyE:";
}
