package shop.alien.util.common.constant;

/**
 * 券类型枚举
 */
public enum CouponTypeEnum {
    /**
     * 代金券
     */
    COUPON(1, "代金券"),
    /**
     * 团购
     */
    GROUP_BUY(2, "团购券");


    private final Integer code;
    private final String info;

    CouponTypeEnum(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
