From c7e87148adcbcb292a7c1af62b1271fa3703a9e3 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 24 Feb 2023 11:50:40 +0800 Subject: [PATCH] 商品单位 --- src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java b/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java index 3f358ae..0dcaacd 100644 --- a/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java +++ b/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java @@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import java.math.BigDecimal; import java.util.List; /** @@ -22,6 +23,9 @@ @ApiModelProperty(value = "商品名称") private String goodsName; + + @ApiModelProperty(value = "商品参数") + private String goodsParameter; @ApiModelProperty(value = "商品介绍") private String goodsIntrodution; @@ -44,9 +48,46 @@ @ApiModelProperty(value = "销量") private Integer volume; + @ApiModelProperty(value = "商品类型") + private Integer goodsType; + + @ApiModelProperty(value = "积分") + private BigDecimal score; + + @ApiModelProperty(value = "是否有运费") + private Integer hasCarriage; + + @ApiModelProperty(value = "运费") + private BigDecimal carriage; + + @ApiModelProperty(value = "1-普通商品 2-套餐") + private Integer isNormal; + @ApiModelProperty(value = "轮播图") private List<String> images; @ApiModelProperty(value = "样式") private List<GoodsDetailsStyleVo> styles; + + @ApiModelProperty(value = "评论数量") + private Integer commentCount; + //运费方式 (1:固定运费 2:运费模板) + + @ApiModelProperty(value = "运费方式 (1:固定运费 2:运费模板)") + private Integer carriageType; + //运费金额 + + @ApiModelProperty(value = "固定运费金额") + private BigDecimal carriageAmount; + //运费模板ID + + @ApiModelProperty(value = "运费模板ID") + private Long carriageRuleId; + //重量 + + @ApiModelProperty(value = "重量") + private BigDecimal goodsWeight; + + @ApiModelProperty(value = "单位") + private String unit; } -- Gitblit v1.9.1