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<>();
|
|
}
|