package cn.freemud.entities.dto.promotion;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CalculationSendGoodsReqVO {
    /**
     * 参与的活动
     */
    @NotNull(message = "活动号不可为空")
    private String activityCode;
    private Integer activityType;

    /**
     * 参与活动的换购商品
     */
    @Valid
    @NotNull(message = "sendGoods不可为空")
    private List<CalculationDiscountGoodsDto> sendGoods;
}