package cn.lili.modules.order.cart.entity.dto; import lombok.Data; import javax.validation.constraints.Min; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; /** * 再次购买使用 * * @author peng * @since 2025-06-24 */ @Data public class BuyBackDTO { @NotBlank(message = "商品skuId不能为空") private String skuId; @Min(value = 1, message = "最小不能小于一个") private Integer num; }