| @@ -14,6 +14,10 @@ import java.text.DecimalFormat; | |||||
| public class WxCouponChannelVo extends WxCouponChannel implements Serializable { | public class WxCouponChannelVo extends WxCouponChannel implements Serializable { | ||||
| private static final long serialVersionUID = 1L; | private static final long serialVersionUID = 1L; | ||||
| /*总库存**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="总库存",name="inventory") | |||||
| private Integer inventory; | |||||
| /*剩余库存**/ | /*剩余库存**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") | @io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") | ||||
| private Integer remainInventory; | private Integer remainInventory; | ||||
| @@ -67,6 +71,14 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { | |||||
| @io.swagger.annotations.ApiModelProperty(value="1.主动领取2.定向投放",name="sendType") | @io.swagger.annotations.ApiModelProperty(value="1.主动领取2.定向投放",name="sendType") | ||||
| private Integer sendType; | private Integer sendType; | ||||
| public Integer getInventory() { | |||||
| return inventory; | |||||
| } | |||||
| public void setInventory(Integer inventory) { | |||||
| this.inventory = inventory; | |||||
| } | |||||
| public Integer getRemainInventory() { | public Integer getRemainInventory() { | ||||
| return remainInventory; | return remainInventory; | ||||
| } | } | ||||
| @@ -188,6 +200,7 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { | |||||
| public WxCouponChannelVo(){} | public WxCouponChannelVo(){} | ||||
| public WxCouponChannelVo setWxCoupon (WxCoupon wxCoupon){ | public WxCouponChannelVo setWxCoupon (WxCoupon wxCoupon){ | ||||
| this.coverImg=wxCoupon.getCoverImg(); | this.coverImg=wxCoupon.getCoverImg(); | ||||
| this.inventory=wxCoupon.getInventory(); | |||||
| this.remainInventory=wxCoupon.getRemainInventory(); | this.remainInventory=wxCoupon.getRemainInventory(); | ||||
| this.price=wxCoupon.getPrice(); | this.price=wxCoupon.getPrice(); | ||||
| this.salePrice=wxCoupon.getSalePrice(); | this.salePrice=wxCoupon.getSalePrice(); | ||||