
package com.xxfc.platform.universal.constant;


public class RedisKey {

    /**
     * 常量缓存key前缀
     */
    public static final String CONSTANT_CACHE_PREFIX ="cache:constant:";

    /**
     * 地区常量缓存key前缀(子读取列表)
     */
    public static final String SYS_REGION_SONS_CACHE_PREFIX ="cache:sysRegion:sons:";

    /**
     * 地区常量缓存key前缀(子读取列表)
     */
    public static final String SYS_REGION_CACHE_PREFIX ="cache:sysRegion:";

    /**
     * 刷新常量缓存乐观锁前缀
     */
    public static final String CONSTANT_REFRESH_LOCK_PREFIX ="lock:constant:";

    /**
     * 地区常量缓存key前缀
     */
    public static final String SYS_REGION_REFRESH_LOCK ="lock:sysRegion:";
    /**
     * 迁移预定信息rediseky
     */
    public static final String DEL_BOOK_INFO_LOCK_PREFIX ="lock:del:bookInfo:";

    /**
     * 迁移预定记录rediseky
     */
    public static final String TRANSFER_BOOK_RECORD_LOCK_PREFIX ="lock:bookRecord:transfer";

    /**
     * 子公司列表缓存key前缀
     */
    public static final String BRANCH_COMPANY_CACHE ="cache:brachCompany";

    /**
     * 子公司列表缓存key前缀
     */
    public static final String BRANCH_COMPANY_CACHE_ALL = BRANCH_COMPANY_CACHE + ":all";

    /**
     * 片区对应的子公司缓存key前缀
     */
    public static final String BRANCH_COMPANY_CACHE_DATAZONE = BRANCH_COMPANY_CACHE + ":dataZone{1}";

    /**
     * 营地列表缓存key前缀
     */
    public static final String CAMPSITE_CACHE ="cache:campsite";
    /**
     * 营地列表缓存key前缀
     */
    public static final String CAMPSITE_CACHE_ALL = CAMPSITE_CACHE + ":all";
    /**
     * 片区对应的营地缓存key前缀
     */
    public static final String CAMPSITE_CACHE_DATAZONE = CAMPSITE_CACHE + ":dataZone{1}";




//    随车物品相关key
    public static final String ACCOMPANYING_ITEM_CACHE_ALL ="cache:accompanyItem:all";


    /**
     * 服务器上传文件序号
     */
    public static final String UPLOAD_FILE_NO_PREFIX ="upload:file:no:";


    /**
     * 预警信息检查乐观锁
     */
    public static final String LOCK_VEHICLE_WARNING_MSG ="lock:vehicle:warningMsg";


    /**
     * 车辆预警，前一天检查的里程数redisKey前缀
     */
    public static final String MILEAGE_LAST_DAY_PREFIX ="mileage:last_day:";

    /**
     * 车辆预警，前一天检查的里程数redisKey前缀
     */
    public static final String CACHE_DICTIONARY_PREFIX ="cache:dictionary:";

    public static final String CACHE_DICTIONARY_ALL =CACHE_DICTIONARY_PREFIX + "all:";
    public static final String CACHE_DICTIONARY_ALL_MAP =CACHE_DICTIONARY_ALL + "map:";
    public static final String ILLEGAL_VEHICLE_ENQUIRIES ="cache:violation";
}
