package com.oying.modules.pc.product.domain.dto; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.math.BigDecimal; import java.util.List; @Data public class ProductMerchantCreateRequest { @NotBlank private String barcode; @NotBlank private String name; @NotBlank private String title; @NotNull private Long categoryId; private Long secondCategoryId; @NotNull private BigDecimal price; @NotNull private Integer stockQuantity; private Integer minPurchaseQuantity; private Integer warnStock; @NotNull private Integer weight; private Integer length; private Integer width; private Integer height; private Integer allowReturns; private List imageList; private List labelList; }