package com.xinxincaravan.caravan.vehicle.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_ALL ="cache:bracnCompany:all";


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


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