
package com.tmerclub.cloud.common.cache.constant;

/**
 * @author lhd
 * @date 2020/12/08
 */
public interface DeliveryCacheNames {

    /**
     * 前缀
     */
    String DELIVERY_PREFIX = "tmerclub_delivery:";

    /**
     * 根据运费模板id获取运费模板的缓存key
     */
    String TRANSPORT_BY_ID_PREFIX = DELIVERY_PREFIX + "transport:by_id:";

    /**
     * 根据运费模板id获取运费模板的缓存key
     */
    String SAME_CITY_BY_ID_PREFIX = DELIVERY_PREFIX + "same_city:by_id:";

    /**
     * 店铺或者供应商仓库列表缓存key
     */
    String SHOP_WAREHOUSE_LIST_PREFIX = DELIVERY_PREFIX + "shop_warehouse:list:";


    /**
     * 店铺分类列表缓存key
     */
    String AREA_KEY = DELIVERY_PREFIX + "area:";

    /**
     * 店铺分类列表缓存key
     */
    String AREA_INFO_KEY = DELIVERY_PREFIX + "area_info:";

    /**
     * 网点信息列表缓存
     */
    String OUTLET_CONFIG_LIST_KEY = DELIVERY_PREFIX + "outlet_config_list:";

    /**
     * 打印机列表缓存
     */
    String PRINTER_LIST_KEY = DELIVERY_PREFIX + "printer_list:";

}
