package com.tzy.common.dto.act;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 关联活动配置
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class RefActRule implements Serializable {
    /**条件类型,会员数量:member_num,次数奖励:joint_num*/
    private String type;
    /**条件子类型:钻石会员类型:3,all:累积参与次数,包含分享*/
    private String subType;
    /**奖品类型,商品:goods,优惠券:coupon,积分:point,抽奖次数:turntable*/
    private String prizeType;
    private String pointType;
    /**活动满足条件*/
    private BigDecimal condValue;
    /**参数次数*/
    private Integer joinNum;
    /**关联活动id,优惠劵id等*/
    private Integer refId;
}
