TO校验源码
```java
@Data
@Accessors(chain = true)
public class SkuDiscountTO {
@NotNull(message = "SKUid不能为空", groups = AddGroup.class)
private Long skuId;
@NotNull(message = "打折衣服数量阈值不能为空", groups = AddGroup.class)
@Positive(message = "打折衣服数量阈值必须大于0", groups = AddGroup.class)
private Integer fullCount;
@NotNull(message = "折扣不能为空", groups = AddGroup.class)
@Range(min = 0, max = 1, message = "折扣必须在0~1之间", groups = AddGroup.class)
private BigDecimal discount;
@NotNull(message = "数量满减状态不能为空", groups = AddGroup.class)
@ListValue(value = {0, 1}, groups = AddGroup.class)
private Integer countStatus;
@NotNull(message = "打折价格阈值不能为空", groups = AddGroup.class)
@Positive(message = "打折价格阈值必须大于0", groups = AddGroup.class)
private BigDecimal fullPrice;
@NotNull(message = "降低价格数值不能为空", groups = AddGroup.class)
@PositiveOrZero(message = "降低价格数值必须大于等于0", groups = AddGroup.class)
private BigDecimal reducePrice;
@NotNull(message = "价格满减状态不能为空", groups = AddGroup.class)
@ListValue(value = {0, 1}, groups = AddGroup.class)
private Integer priceStatus;
@NotEmpty(message = "会员价格不能为空", groups = AddGroup.class)
@InnerMemberPricesValid(groups = AddGroup.class)
private List<MemberPrice> memberPrice;
```