| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonInclude; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "商品名称") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String skuName; |
| | | |
| | | @ApiModelProperty(value = "商品年份") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String years; |
| | | |
| | | @ApiModelProperty(value = "商品分类") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String category; |
| | | |
| | | @ApiModelProperty(value = "商品系列") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String series; |
| | | |
| | | @ApiModelProperty(value = "商品品牌") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String brand; |
| | | |
| | | @ApiModelProperty(value = "商品香型") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String flavorType; |
| | | |
| | | @ApiModelProperty(value = "商品价格") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private BigDecimal price; |
| | | |
| | | @ApiModelProperty(value = "库存") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer stock; |
| | | |
| | | @ApiModelProperty(value = "已售数量") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer soldQuantity; |
| | | |
| | | @ApiModelProperty(value = "单位") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String unit; |
| | | |
| | | @ApiModelProperty(value = "规格") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String spec; |
| | | |
| | | @ApiModelProperty(value = "规格单位") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String specUnit; |
| | | |
| | | @ApiModelProperty(value = "封面图") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String coverPic; |
| | | |
| | | @ApiModelProperty(value = "详情图,不超过五张图片") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String album; |
| | | |
| | | @ApiModelProperty(value = "分享标题") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String shareTitle; |
| | | |
| | | @ApiModelProperty(value = "分享图片") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String sharePic; |
| | | |
| | | @ApiModelProperty(value = "商品描述") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String description; |
| | | |
| | | @ApiModelProperty(value = "商品说明") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String detail; |
| | | |
| | | @ApiModelProperty(value = "排序") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer sortNum; |
| | | |
| | | @ApiModelProperty(value = "是收藏 1未收藏,2收藏") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer isCollection; |
| | | |
| | | @ApiModelProperty(value = "是团购 1没有团购,2有团购") |