package com.oying.modules.pc.product.domain.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; @Data public class ProductMerchantCreateRequest { private Long storeId; @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; @ApiModelProperty(value = "是否支持退货") private Integer returns; @ApiModelProperty(value = "是否支持自提") private Integer selfPickup; private List images = new ArrayList<>(); private List labels = new ArrayList<>(); }