package com.kym.entity.common;

/**
 * @author skyline
 * @description
 * @date 2023-07-31 18:26
 */
public interface RedisKeys {
    String PLATFORM_QUERY_TOKEN = "PLATFORM_QUERY_TOKEN:";

    /**
     * 我们自己平台生成的Token，给外部调用获取
     */
    String PLATFORM_TOKEN = "PLATFORM_TOKEN:";
    String EN_PLUS_SASS_TOKEN = "EN_PLUS_SASS_TOKEN";
    String OFFLINE = "OFFLINE:";
    String OFFLINE_EXPIRED = "OFFLINE_EXPIRED:";
    String CONNECTOR_ID_TO_SHORT_ID = "CONNECTOR_ID_TO_SHORT_ID:";
    /**
     * 短编号到connectorId的反向索引
     */
    String SHORT_ID_TO_CONNECTOR_ID = "SHORT_ID_TO_CONNECTOR_ID:";
    String CONNECTOR_ID_TO_STATUS = "CONNECTOR_ID_TO_STATUS:";
    String CONNECTOR_ID_TO_STATION_ID = "CONNECTOR_ID_TO_STATION_ID:";
    String STATION_ID_TO_NAME = "STATION_ID_TO_NAME:";
    String CONNECTOR_ID_TO_PARKING_NO = "CONNECTOR_ID_TO_PARKING_NO:";
    String ADMIN_USER_STATION_IDS = "ADMIN_USER_STATION_IDS:";
    String COUPON_ID_TO_USERS = "COUPON_ID_TO_USER_ID:";
    String CHARGE_ORDER_EQUIP_CHARGE_STATUS = "CHARGE_ORDER_EQUIP_CHARGE_STATUS:";
    String CONNECTOR_ID_PLATFORM_NAME = "CONNECTOR_ID_PLATFORM_NAME:";
    String STATION_ID_PLATFORM_NAME = "STATION_ID_PLATFORM_NAME:";
    String PLATFORM_NAME_CONFIG = "PLATFORM_NAME_CONFIG:";

    /**
     * 站点费率
     */
    String STATION_ID_POLICY_INFO = "STATION_ID_POLICY_INFO:";

    /**
     * 站点白名单配置（站点ID -> 是否启用）
     */
    String STATION_WHITELIST_CONFIG = "STATION_WHITELIST_CONFIG:";

    /**
     * 站点白名单用户列表（站点ID -> 用户ID集合）
     */
    String STATION_WHITELIST_USERS = "STATION_WHITELIST_USERS:";

    /**
     * 用户退款申请分布式锁
     */
    String REFUND_LOCK = "REFUND_LOCK:";
}
