package com.liquidnet.service.candy.constant;

public class CandyRedisConst {
    public static final String PREFIX = "candy:";
    /**
     * <key>
     *     candy:basic:coupon_info:${coupon_id}
     * </key>
     * <value>
     *     com.liquidnet.service.candy.dto.CandyCouponInfoDto
     * </value>
     */
    public static final String BASIC_COUPON_INFO = PREFIX.concat("basic:coupon_info:");
    /**
     * <key>
     *     candy:basic:coupon_code:${ccode}
     * </key>
     * <value>
     *     com.liquidnet.service.candy.dto.CandyCouponCodeDto
     * </value>
     */
    public static final String BASIC_COUPON_CODE = PREFIX.concat("basic:coupon_code:");
    /**
     * <key>
     *     candy:basic:user_coupon:${uid}
     * </key>
     * <value>
     *     List<com.liquidnet.service.candy.dto.CandyUserCouponBasicDto>
     * </value>
     */
    public static final String BASIC_USER_COUPON = PREFIX.concat("basic:user_coupon:");
    /**
     * <key>
     *     candy:basic:common_coupon
     * </key>
     * <value>
     *     List<com.liquidnet.service.candy.dto.CandyCommonCouponBasicDto>
     * </value>
     */
    public static final String BASIC_COMMON_COUPON = PREFIX.concat("basic:common_coupon");
    /**
     * <key>
     *     candy:basic:user_coupon_assoc:${ucouponId}
     * </key>
     * <value>
     *     com.liquidnet.service.candy.dto.CandyUserCouponAssocDto
     * </value>
     */
    public static final String BASIC_USER_COUPON_ASSOC = PREFIX.concat("basic:user_coupon_assoc:");
    /**
     * 发放券操作人-券类商品下单
     */
    public static final String OPERATOR_MGT_COUPON_BY_SKU = "COUPON_SKU";
}
