From f7ea5773570beb5ad8c6efb5c1cf743294ee079b Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 24 Jan 2021 14:16:04 +0800 Subject: [PATCH] modify --- zq-erp/src/main/java/com/matrix/system/app/vo/ShoppingGoodsListVo.java | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 118 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/app/vo/ShoppingGoodsListVo.java b/zq-erp/src/main/java/com/matrix/system/app/vo/ShoppingGoodsListVo.java new file mode 100644 index 0000000..ae87478 --- /dev/null +++ b/zq-erp/src/main/java/com/matrix/system/app/vo/ShoppingGoodsListVo.java @@ -0,0 +1,118 @@ +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; + } +} -- Gitblit v1.9.1