zepengdev
2025-07-19 f6239d1029da4c51ba3b2cec790f7399a210a3df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
 
@Data
public class ProductMerchantUpdateRequest {
 
    private Long productId;
 
    private String barcode;
 
    private String name;
 
    private String title;
 
    private Long categoryId;
 
    private Long secondCategoryId;
 
    private BigDecimal price;
 
    private Integer stockQuantity;
 
    private Integer minPurchaseQuantity;
 
    private Integer warnStock;
 
    private Integer weight;
 
    private Integer length;
 
    private Integer width;
 
    private Integer height;
 
    @ApiModelProperty(value = "是否支持退货")
    private Integer returns;
 
    @ApiModelProperty(value = "是否支持自提")
    private Integer selfPickup;
 
    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<>();
 
}