From a934018ea73cd9e73cde10d9c42b9d6308641c56 Mon Sep 17 00:00:00 2001 From: hupeng Date: Tue, 16 Oct 2018 15:36:03 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8D=A1=E5=88=B8][=E4=BF=AE=E6=94=B9]:?= =?UTF-8?q?=E6=80=BB=E5=BA=93=E5=AD=98=E4=BC=A0=E7=BB=99=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/domain/vo/WxCouponChannelVo.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java index 2ae0182d4..d5c8cdedb 100644 --- a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java +++ b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java @@ -14,6 +14,10 @@ import java.text.DecimalFormat; public class WxCouponChannelVo extends WxCouponChannel implements Serializable { private static final long serialVersionUID = 1L; + /*总库存**/ + @io.swagger.annotations.ApiModelProperty(value="总库存",name="inventory") + private Integer inventory; + /*剩余库存**/ @io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") private Integer remainInventory; @@ -67,6 +71,14 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { @io.swagger.annotations.ApiModelProperty(value="1.主动领取2.定向投放",name="sendType") private Integer sendType; + public Integer getInventory() { + return inventory; + } + + public void setInventory(Integer inventory) { + this.inventory = inventory; + } + public Integer getRemainInventory() { return remainInventory; } @@ -188,6 +200,7 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { public WxCouponChannelVo(){} public WxCouponChannelVo setWxCoupon (WxCoupon wxCoupon){ this.coverImg=wxCoupon.getCoverImg(); + this.inventory=wxCoupon.getInventory(); this.remainInventory=wxCoupon.getRemainInventory(); this.price=wxCoupon.getPrice(); this.salePrice=wxCoupon.getSalePrice();