package com.ishop.model.vo; import java.io.Serializable; import java.math.BigDecimal; /** * 商品公共响应对象. * @author 时克英 * @date 2023-06-23 */ public class ProductCommonVo implements Serializable { public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getImage() { return image; } public void setImage(String image) { this.image = image; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Double getPrice() { return price; } public void setPrice(Double price) { this.price = price; } public Double getOtPrice() { return otPrice; } public void setOtPrice(Double otPrice) { this.otPrice = otPrice; } public Integer getSales() { return sales; } public void setSales(Integer sales) { this.sales = sales; } public Integer getFicti() { return ficti; } public void setFicti(Integer ficti) { this.ficti = ficti; } public String getUnitName() { return unitName; } public void setUnitName(String unitName) { this.unitName = unitName; } public Integer getStock() { return stock; } public void setStock(Integer stock) { this.stock = stock; } public Boolean getIsSelf() { return isSelf; } public void setIsSelf(Boolean self) { isSelf = self; } public String getPositiveRatio() { return positiveRatio; } public void setPositiveRatio(String positiveRatio) { this.positiveRatio = positiveRatio; } public Integer getReplyNum() { return replyNum; } public void setReplyNum(Integer replyNum) { this.replyNum = replyNum; } public String getActivityStyle() { return activityStyle; } public void setActivityStyle(String activityStyle) { this.activityStyle = activityStyle; } // @ApiModelProperty(value = "商品id") private Long id; // @ApiModelProperty(value = "商品图片") private String image; // @ApiModelProperty(value = "商品名称") private String name; // @ApiModelProperty(value = "商品价格") // private BigDecimal price; private Double price; // @ApiModelProperty(value = "市场价") private Double otPrice; // @ApiModelProperty(value = "销量") private Integer sales; // @ApiModelProperty(value = "虚拟销量") private Integer ficti; // @ApiModelProperty(value = "单位名") private String unitName; // @ApiModelProperty(value = "库存") private Integer stock; // @ApiModelProperty(value = "是否自营:0-自营,1-非自营") private Boolean isSelf; // @ApiModelProperty(value = "好评率") private String positiveRatio; // @ApiModelProperty(value = "评论数量") private Integer replyNum; // @ApiModelProperty(value = "活动边框 列表中是边框 详情中是背景图") private String activityStyle; }