diff --git a/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/ProductDto.java b/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/ProductDto.java index 013803a4..6ab27550 100644 --- a/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/ProductDto.java +++ b/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/ProductDto.java @@ -3,6 +3,7 @@ package co.yixiang.modules.product.service.dto; import co.yixiang.modules.evaluation.domain.EditableTabs; import com.fasterxml.jackson.annotation.JsonProperty; +import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; @@ -139,6 +140,14 @@ public class ProductDto { /** 虚拟销量 */ private Long ficti; + @JsonProperty("is_hot_list") + private Integer isHotList; + + @ApiModelProperty(value = "所参与评比的榜单的id") + private Integer hotListId; + + @ApiModelProperty(value = "所参与评比的榜单的虚拟销量") + private Integer hotSales; /** 运费模板ID */ @JsonProperty("temp_id") diff --git a/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/StoreProductDto.java b/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/StoreProductDto.java index 2284c08b..82536c1e 100644 --- a/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/StoreProductDto.java +++ b/zsw-bxg/src/main/java/co/yixiang/modules/product/service/dto/StoreProductDto.java @@ -5,6 +5,7 @@ import co.yixiang.modules.product.domain.YxStoreProductConfig; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; import com.fasterxml.jackson.annotation.JsonProperty; +import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import lombok.ToString; @@ -144,6 +145,15 @@ public class StoreProductDto @JsonProperty("is_integral") private Integer isIntegral; + @JsonProperty("is_hot_list") + private Integer isHotList; + + @ApiModelProperty(value = "所参与评比的榜单的id") + private Integer hotListId; + + @ApiModelProperty(value = "所参与评比的榜单的虚拟销量") + private Integer hotSales; + /** 虚拟销量 */ private Long ficti;