| | |
| | | package com.oying.modules.pc.product.domain.dto; |
| | | |
| | | import com.oying.modules.pc.product.domain.ProductLabel; |
| | | 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 ProductMerchantUpdateRequest { |
| | | |
| | | private Long productId; |
| | | |
| | | private String barcode; |
| | | |
| | |
| | | |
| | | private Integer height; |
| | | |
| | | private Integer allowReturns; |
| | | @ApiModelProperty(value = "是否支持退货") |
| | | private Integer returns; |
| | | |
| | | private List<ProductImageCreateRequest> imageList; |
| | | @ApiModelProperty(value = "是否支持自提") |
| | | private Integer selfPickup; |
| | | |
| | | private List<ProductLabelCreateRequest> specList; |
| | | private List<Long> deletedImageIds = new ArrayList<>(); |
| | | |
| | | private List<ProductImageUpdateRequest> updatedImages = new ArrayList<>(); |
| | | |
| | | private List<ProductImageCreateRequest> newImages = new ArrayList<>(); |
| | | |
| | | private List<Long> deletedLabelIds = new ArrayList<>(); |
| | | |
| | | private List<ProductLabel> updatedLabels = new ArrayList<>(); |
| | | |
| | | private List<ProductLabel> newLabels = new ArrayList<>(); |
| | | |
| | | } |