package cc.mrbird.febs.mall.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
/**
|
* @author wzy
|
* @date 2021-09-17
|
**/
|
@Data
|
@ApiModel(value = "MallGoodsListVo", description = "商城商品列表")
|
public class MallGoodsListVo {
|
|
@ApiModelProperty(value = "id")
|
private Long id;
|
|
@ApiModelProperty(value = "规格ID")
|
private Long skuId;
|
|
@ApiModelProperty(value = "商品名称")
|
private String goodsName;
|
|
@ApiModelProperty(value = "商品介绍")
|
private String goodsIntroduction;
|
|
@ApiModelProperty(value = "主图")
|
private String thumb;
|
|
@ApiModelProperty(value = "原价")
|
private String originalPrice;
|
|
@ApiModelProperty(value = "现价")
|
private String presentPrice;
|
|
@ApiModelProperty(value = "销量")
|
private String saleVolume;
|
|
@ApiModelProperty(value = "库存")
|
private String stock;
|
|
@ApiModelProperty(value = "积分")
|
private BigDecimal score;
|
|
@ApiModelProperty(value = "是否有运费 1-是 2-包邮 (不使用了)")
|
private Integer hasCarriage;
|
//运费方式 (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;
|
}
|