Administrator
2025-05-15 1fc8fde81cbf79ebe95e927f9099cf94c2ccc6e5
src/main/java/cc/mrbird/febs/mall/dto/CouponRuleAddDto.java
@@ -5,6 +5,8 @@
import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.util.List;
@Data
@ApiModel(value = "CouponRuleAddDto", description = "参数类")
public class CouponRuleAddDto {
@@ -15,6 +17,7 @@
    @NotNull(message = "过期天数不能为空")
    @Min(value = 0, message = "整数字段不能小于0")
    private Integer expireDay;
    private Integer type;
    //满1000减100,满0减50;
    //满足金额
    @NotNull(message = "满足金额不能为空")
@@ -27,4 +30,7 @@
    @DecimalMax(value = "10000", inclusive = false, message = "字段不能大于10000")
    private BigDecimal realAmount;
    //优惠卷IDs
    private List<Long> goodsIds;
}