diff --git a/mallinkService/src/main/java/com/simple/domain/vo/WxCouponCVo.java b/mallinkService/src/main/java/com/simple/domain/vo/WxCouponCVo.java index 6a6f9abb2..9a3fee45a 100644 --- a/mallinkService/src/main/java/com/simple/domain/vo/WxCouponCVo.java +++ b/mallinkService/src/main/java/com/simple/domain/vo/WxCouponCVo.java @@ -122,6 +122,9 @@ public class WxCouponCVo implements Serializable { /*面额**/ @io.swagger.annotations.ApiModelProperty(value="面额",name="price") private Integer price; + /*单位**/ + @io.swagger.annotations.ApiModelProperty(value="单位0:钱分,1:小时",name="unit") + private Integer unit; /*剩余库存**/ @io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") private Integer remainInventory; @@ -310,6 +313,15 @@ public class WxCouponCVo implements Serializable { public void setPrice(Integer _price) { price = _price; } + + public Integer getUnit() { + return unit; + } + + public void setUnit(Integer unit) { + this.unit = unit; + } + public Integer getRemainInventory() { return remainInventory; } diff --git a/mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java b/mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java index f5ab53a7c..99fe69083 100644 --- a/mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java +++ b/mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java @@ -39,6 +39,9 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { /*面额**/ @io.swagger.annotations.ApiModelProperty(value="面额",name="price") private Integer price; + /*单位**/ + @io.swagger.annotations.ApiModelProperty(value="单位0:钱分,1:小时",name="unit") + private Integer unit; /*券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)**/ @io.swagger.annotations.ApiModelProperty(value="券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)",name="type") @@ -109,6 +112,14 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { return price; } + public Integer getUnit() { + return unit; + } + + public void setUnit(Integer unit) { + this.unit = unit; + } + public Integer getUseLimitQuantity() { return useLimitQuantity; }