package cc.mrbird.febs.mall.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; import java.util.List; /** * @author wzy * @date 2021-09-17 **/ @Data @ApiModel(value = "MallGoodsDetailsVo", description = "商品详情返回参数类") public class MallGoodsDetailsVo { @ApiModelProperty(value = "id") private Long id; @ApiModelProperty(value = "商品主图") private String thumb; @ApiModelProperty(value = "商品编号") private String goodsNo; @ApiModelProperty(value = "商品名称") private String goodsName; @ApiModelProperty(value = "商品参数") private String goodsParameter; @ApiModelProperty(value = "商品介绍") private String goodsIntrodution; @ApiModelProperty(value = "商品详情") private String goodsDetails; @ApiModelProperty(value = "原价") private String originalPrice; @ApiModelProperty(value = "现价") private String presentPrice; @ApiModelProperty(value = "是否上架 1-上架 2-下架") private Integer isSale; @ApiModelProperty(value = "库存") private Integer stock; @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 images; @ApiModelProperty(value = "样式") private List 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; @ApiModelProperty(value = "1级代理价格") private BigDecimal levelOnePrice; @ApiModelProperty(value = "2级代理价格") private BigDecimal levelTwoPrice; @ApiModelProperty(value = "3级代理价格") private BigDecimal levelThreePrice; @ApiModelProperty(value = "是否收藏") private Integer hasCollect; @ApiModelProperty(value = "商品主图") private String mainImage; }