package com.quantgroup.asset.distribution.constant;

/**
 * Created by renfeng on 2019/7/22.
 */
public class RedisKeyConstants {


    /**
     * 助贷资金池所有key的hmset key
     */
    public final static String AID_LOAN_POOLKEYS_HMSET_KEY="AID.LOAN.POOLKEYS.HMSET.KEY.8UJ2WS_";


    /**
     * 助贷资金次数限制缓存key
     */
    public final static String AID_LOAN_COUNT_LIMIT_KEY="AID.LOAN.COUNT.LIMIT.KEY.23RFRY45_";

    /**
     * 助贷资金总金额限制缓存key
     */
    public final static String AID_LOAN_ALL_AMOUNT_LIMIT_KEY="AID.LOAN.ALL.AMOUNT.LIMIT.KEY.9QDBFD_";
    
    /**
     * 分发失败节点记录
     */
    public final static String DISTRIBUTE_FAIL_TYPE_RECORD = "ASSET.DISTRIBUTE.DISTRIBUTE.FAIL.TYPE.KEY.8SAWNB_";
    /**
     * 你我贷token
     */
    public static final String NI_WO_DAI_TOKEN_KEY = "ASSET.DISTRIBUTE:NIWODAI:TOKEN:YHABEA";

    /**
     * 完成路由的资方缓存KEY
     */
    public static final String FINISH_ROUTE_AID_FUND_KEY="ASSET.DISTRIBUTE:FINISH.ROUTE.AID.FUND.KEY.IJN9_";

    /**
     * 助贷资方审核订单缓存KEY
     */
    public static final String AID_FUND_AUDIT_ORDER_KEY = "ASSET.DISTRIBUTE:AID_FUND_AUDIT_ORDER:BY_BIZ_NO_AND_FUND_ID:AKVVS3:";

    /**
     * 助贷资方每日渠道限制
     */
    public static final String AID_FUND_PUSH_ORDER_DAY_LIMIT_KEY = "ASSET.DISTRIBUTE:AID_FUND_PUSH_ORDER_DAY_LIMIT:KAM91A:";
}
