package com.matrix.system.app.vo; 
 | 
  
 | 
import com.matrix.system.hive.bean.ShoppingGoods; 
 | 
import io.swagger.annotations.ApiModel; 
 | 
import io.swagger.annotations.ApiModelProperty; 
 | 
  
 | 
import java.math.BigDecimal; 
 | 
  
 | 
/** 
 | 
 * @author wzy 
 | 
 * @date 2020-12-23 
 | 
 **/ 
 | 
@ApiModel(value = "ShoppingGoodsListVo", description = "商品列表返回类") 
 | 
public class ShoppingGoodsListVo { 
 | 
  
 | 
    @ApiModelProperty(value = "商品ID") 
 | 
    private Long id; 
 | 
  
 | 
    @ApiModelProperty(value = "商品编号") 
 | 
    private String goodsCode; 
 | 
  
 | 
    @ApiModelProperty(value = "商品名称") 
 | 
    private String name; 
 | 
  
 | 
    @ApiModelProperty(value = "商品价格") 
 | 
    private BigDecimal price; 
 | 
  
 | 
    @ApiModelProperty(value = "是否赠送") 
 | 
    private String isPresent; 
 | 
  
 | 
    @ApiModelProperty(value = "商品规格") 
 | 
    private String unit; 
 | 
  
 | 
    @ApiModelProperty(value = "计量单位") 
 | 
    private String measure; 
 | 
  
 | 
    @ApiModelProperty(value = "商品图片") 
 | 
    private String img; 
 | 
  
 | 
    @ApiModelProperty(value = "商品类型") 
 | 
    private String goodsType; 
 | 
  
 | 
    public String getGoodsType() { 
 | 
        return goodsType; 
 | 
    } 
 | 
  
 | 
    public void setGoodsType(String goodsType) { 
 | 
        this.goodsType = goodsType; 
 | 
    } 
 | 
  
 | 
    public Long getId() { 
 | 
        return id; 
 | 
    } 
 | 
  
 | 
    public void setId(Long id) { 
 | 
        this.id = id; 
 | 
    } 
 | 
  
 | 
    public String getGoodsCode() { 
 | 
        return goodsCode; 
 | 
    } 
 | 
  
 | 
    public void setGoodsCode(String goodsCode) { 
 | 
        this.goodsCode = goodsCode; 
 | 
    } 
 | 
  
 | 
    public String getName() { 
 | 
        return name; 
 | 
    } 
 | 
  
 | 
    public void setName(String name) { 
 | 
        this.name = name; 
 | 
    } 
 | 
  
 | 
    public BigDecimal getPrice() { 
 | 
        return price; 
 | 
    } 
 | 
  
 | 
    public void setPrice(BigDecimal price) { 
 | 
        this.price = price; 
 | 
    } 
 | 
  
 | 
    public String getIsPresent() { 
 | 
        return isPresent; 
 | 
    } 
 | 
  
 | 
    public void setIsPresent(String isPresent) { 
 | 
        if ("是".equals(isPresent)) { 
 | 
            this.isPresent = "1"; 
 | 
        } else { 
 | 
            this.isPresent = "0"; 
 | 
        } 
 | 
    } 
 | 
  
 | 
    public String getUnit() { 
 | 
        return unit; 
 | 
    } 
 | 
  
 | 
    public void setUnit(String unit) { 
 | 
        this.unit = unit; 
 | 
    } 
 | 
  
 | 
    public String getMeasure() { 
 | 
        return measure; 
 | 
    } 
 | 
  
 | 
    public void setMeasure(String measure) { 
 | 
        this.measure = measure; 
 | 
    } 
 | 
  
 | 
    public String getImg() { 
 | 
        return img; 
 | 
    } 
 | 
  
 | 
    public void setImg(String img) { 
 | 
        this.img = img; 
 | 
    } 
 | 
} 
 |