package com.qiuguo.iot.base.constans;

/**
 * redis緩存key的起始
 * **/
public class RedisConstans {

    public static Long ONE_DAY = 86400l;
    public static Long ONE_HOUR = 3600l;

    public static Long ONE_MINUTE = 60l;

    public static Long TEN_SECOND = 10l;

    public static Long ONE_WEEK = ONE_DAY * 7;

    public static Long ONE_MONTH_30 = ONE_DAY * 30;

    public static Long HALF_MONTH_15 = ONE_DAY * 15;

    /*
    * 10年
    * */
    public static Long TEN_YEAR = ONE_DAY * 365 * 10;
    public static String DEVICE_INFO = "device::info::";
    
    public static String IOT_TOKEN = "iot_token:";

    public static String USER_BOX_INFO = "user_box_info:";
}
