xin
2025-10-17 ab0637e981ab4c85120ccde35ee24ec4abbe3e24
oying-system/src/main/java/com/oying/modules/pc/product/domain/dto/ProductRevisionRecord.java
@@ -1,14 +1,59 @@
package com.oying.modules.pc.product.domain.dto;
import com.oying.modules.pc.store.domain.StoreQualification;
import com.oying.modules.pc.store.domain.dto.StoreQualificationUpdateRequest;
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 ProductRevisionRecord {
    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<>();
}