| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.*; |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | @ApiModelProperty(value = "优惠券面值") |
| | | @NotNull(message = "优惠券面值不能为空") |
| | | @Min(value = 1,message = "优惠券面值大于0") |
| | | @DecimalMin(value = "0.01", inclusive = true,message = "优惠券面值大于0") |
| | | @Max(value = 99999999,message = "优惠券面值不能超过99999999") |
| | | private BigDecimal couponDiscountValue; |
| | | |