feat:拉取旷世商品
This commit is contained in:
1 parent
3fd191429e
commit
753078984c
14 files changed
+279
-112
No files matched your search
-6
@@ -1,18 +1,12 @@
|
||||
package com.bsd.pjcloud.hard.api.dto.spu;
|
||||
|
||||
import com.bsd.pjcloud.hard.api.entity.spu.HardSpuEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class HardSpuDto extends HardSpuEntity {
|
||||
|
||||
private List<Long> spuIdList;
|
||||
|
||||
+26
-5
@@ -7,8 +7,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.Min;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.*;
|
||||
import com.bsd.pjcloud.common.core.util.TenantTable;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
@@ -16,6 +15,9 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* 硬件商品
|
||||
*/
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@TenantTable
|
||||
@TableName("hard_spu")
|
||||
@@ -46,9 +48,15 @@ public class HardSpuEntity extends Model<HardSpuEntity> {
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 商品图片
|
||||
* 商品封面图片
|
||||
*/
|
||||
@Schema(description = "商品图片")
|
||||
@Schema(description = "商品封面图片")
|
||||
private String cover;
|
||||
|
||||
/**
|
||||
* 商品图片用于识别
|
||||
*/
|
||||
@Schema(description = "商品图片用于识别")
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
@@ -109,11 +117,24 @@ public class HardSpuEntity extends Model<HardSpuEntity> {
|
||||
|
||||
/**
|
||||
* sku类型,0:标准库;1:私有库
|
||||
*
|
||||
* @see HardKsSkuTypeEnum
|
||||
*/
|
||||
@Schema(description = "sku类型,0:标准库;1:私有库")
|
||||
private String skuType;
|
||||
|
||||
/**
|
||||
* 旷世skuid
|
||||
*/
|
||||
@Schema(description = "旷世skuid")
|
||||
private String ksSkuId;
|
||||
|
||||
/**
|
||||
* 旷世返回的业务方sku_id
|
||||
*/
|
||||
@Schema(description = "旷世返回的业务方sku_id")
|
||||
private String ksResSkuId;
|
||||
|
||||
/**
|
||||
* 69码
|
||||
*/
|
||||
@@ -130,7 +151,7 @@ public class HardSpuEntity extends Model<HardSpuEntity> {
|
||||
* 是否为集合SKU
|
||||
*/
|
||||
@Schema(description = "是否为集合SKU")
|
||||
private String ksSubSku;
|
||||
private String ksSubSkuJson;
|
||||
|
||||
/**
|
||||
* 旷世审核状态
|
||||
|
||||
Reference in new issue
Block a user