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");
}
