| @@ -13,11 +13,20 @@ import java.util.Date; | |||||
| */ | */ | ||||
| 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="remainInventory") | @io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") | ||||
| private Integer remainInventory; | private Integer remainInventory; | ||||
| /*封面图**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") | @io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") | ||||
| private String coverImg; | private String coverImg; | ||||
| /*券名称**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="券名称",name="title") | |||||
| private String title; | |||||
| /*副标题**/ | /*副标题**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="副标题",name="subTitle") | @io.swagger.annotations.ApiModelProperty(value="副标题",name="subTitle") | ||||
| private String subTitle; | private String subTitle; | ||||
| @@ -31,6 +40,9 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { | |||||
| @io.swagger.annotations.ApiModelProperty(value="面额",name="price") | @io.swagger.annotations.ApiModelProperty(value="面额",name="price") | ||||
| private Integer price; | private Integer price; | ||||
| /*券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="券类型(1.满减券,2.代金券,3.团购券,4.礼品券,5.停车券)",name="type") | |||||
| private Integer type; | |||||
| @Transient | @Transient | ||||
| private String salePriceStr; | private String salePriceStr; | ||||
| @@ -182,6 +194,8 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable { | |||||
| this.useLimitQuantity=wxCoupon.getUseLimitQuantity(); | this.useLimitQuantity=wxCoupon.getUseLimitQuantity(); | ||||
| this.usePrice=wxCoupon.getUsePrice(); | this.usePrice=wxCoupon.getUsePrice(); | ||||
| this.subTitle=wxCoupon.getSubTitle(); | this.subTitle=wxCoupon.getSubTitle(); | ||||
| this.title=wxCoupon.getSubTitle(); | |||||
| this.type=wxCoupon.getType(); | |||||
| return this; | return this; | ||||
| } | } | ||||