|
@@ -9,6 +9,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.util.List;
|
|
@@ -44,9 +45,9 @@ public class ProductSpuRespVO {
|
|
|
@ExcelProperty("商品分类编号")
|
|
|
private Long categoryId;
|
|
|
|
|
|
- @Schema(description = "商品品牌编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
- @ExcelProperty("商品品牌编号")
|
|
|
- private Long brandId;
|
|
|
+ @Schema(description = "商品分区编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @ExcelProperty("商品分区编号")
|
|
|
+ private Long areaId;
|
|
|
|
|
|
@Schema(description = "商品封面图", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.zhongxing.cn/xx.png")
|
|
|
@ExcelProperty("商品封面图")
|
|
@@ -102,16 +103,6 @@ public class ProductSpuRespVO {
|
|
|
@ExcelProperty("物流配置模板编号")
|
|
|
private Long deliveryTemplateId;
|
|
|
|
|
|
- // ========== 营销相关字段 =========
|
|
|
-
|
|
|
- @Schema(description = "赠送积分", requiredMode = Schema.RequiredMode.REQUIRED, example = "111")
|
|
|
- @ExcelProperty("赠送积分")
|
|
|
- private Integer giveIntegral;
|
|
|
-
|
|
|
- @Schema(description = "分销类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
|
|
|
- @ExcelProperty("分销类型")
|
|
|
- private Boolean subCommissionType;
|
|
|
-
|
|
|
// ========== 统计相关字段 =========
|
|
|
|
|
|
@Schema(description = "商品销量", requiredMode = Schema.RequiredMode.REQUIRED, example = "2000")
|
|
@@ -140,14 +131,4 @@ public class ProductSpuRespVO {
|
|
|
|
|
|
@Schema(description = "商户id", example = "8240")
|
|
|
private Long merchantId;
|
|
|
- @Schema(description = "商品支付类别")
|
|
|
- private Integer spuPayType;
|
|
|
-
|
|
|
- @Schema(description = "高精度", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @ExcelProperty("高精度")
|
|
|
- private Boolean highPrecision;
|
|
|
-
|
|
|
- @Schema(description = "高精度价格", example = "9255")
|
|
|
- @ExcelProperty("高精度价格")
|
|
|
- private BigDecimal highPrecisionPrice;
|
|
|
}
|