diff --git a/mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java b/mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java new file mode 100644 index 000000000..32f3f9066 --- /dev/null +++ b/mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java @@ -0,0 +1,128 @@ +package com.simple.domain.vo; + +import com.simple.domain.po.WxCoupon; +import com.simple.domain.po.WxCouponChannel; + +import java.io.Serializable; +import java.util.Date; + +/** + * Created by syf on 2018/8/22. + */ +public class WxCouponChannelVo extends WxCouponChannel implements Serializable { + private static final long serialVersionUID = 1L; + @io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") + private Integer remainInventory; + @io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg") + private String coverImg; + + /*副标题**/ + @io.swagger.annotations.ApiModelProperty(value="副标题",name="subTitle") + private String subTitle; + /*售价(适用于类型2,3,4,5)**/ + @io.swagger.annotations.ApiModelProperty(value="售价(适用于类型2,3,4,5)",name="salePrice") + private Integer salePrice; + /*使用条件金额(适用于类型1,2,3,4)**/ + @io.swagger.annotations.ApiModelProperty(value="使用条件金额(适用于类型1,2,3,4)",name="usePrice") + private Integer usePrice; + /*限领张数**/ + @io.swagger.annotations.ApiModelProperty(value="限领张数",name="useLimitQuantity") + private Integer useLimitQuantity; + + /*1.主动领取2.定向投放**/ + @io.swagger.annotations.ApiModelProperty(value="1.主动领取2.定向投放",name="sendType") + private Integer sendType; + /*发放开始时间**/ + @io.swagger.annotations.ApiModelProperty(value="发放开始时间",name="sendStartDate") + private Date sendStartDate; + /*发放结束时间**/ + @io.swagger.annotations.ApiModelProperty(value="发放结束时间",name="sendEndDate") + private Date sendEndDate; + + public Integer getRemainInventory() { + return remainInventory; + } + + public void setRemainInventory(Integer remainInventory) { + this.remainInventory = remainInventory; + } + + public String getCoverImg() { + return coverImg; + } + + public void setCoverImg(String coverImg) { + this.coverImg = coverImg; + } + + public String getSubTitle() { + return subTitle; + } + + public void setSubTitle(String subTitle) { + this.subTitle = subTitle; + } + + public Integer getSalePrice() { + return salePrice; + } + + public void setSalePrice(Integer salePrice) { + this.salePrice = salePrice; + } + + public Integer getUsePrice() { + return usePrice; + } + + public void setUsePrice(Integer usePrice) { + this.usePrice = usePrice; + } + + public Integer getUseLimitQuantity() { + return useLimitQuantity; + } + + public void setUseLimitQuantity(Integer useLimitQuantity) { + this.useLimitQuantity = useLimitQuantity; + } + + public Integer getSendType() { + return sendType; + } + + public void setSendType(Integer sendType) { + this.sendType = sendType; + } + + public Date getSendStartDate() { + return sendStartDate; + } + + public void setSendStartDate(Date sendStartDate) { + this.sendStartDate = sendStartDate; + } + + public Date getSendEndDate() { + return sendEndDate; + } + + public void setSendEndDate(Date sendEndDate) { + this.sendEndDate = sendEndDate; + } + public WxCouponChannelVo(){} + public WxCouponChannelVo setWxCoupon (WxCoupon wxCoupon){ + this.coverImg=wxCoupon.getCoverImg(); + this.remainInventory=wxCoupon.getRemainInventory(); + this.salePrice=wxCoupon.getSalePrice(); + this.sendStartDate=wxCoupon.getSendStartDate(); + this.sendEndDate=wxCoupon.getSendEndDate(); + this.sendType=wxCoupon.getSendType(); + this.useLimitQuantity=wxCoupon.getUseLimitQuantity(); + this.usePrice=wxCoupon.getUsePrice(); + this.subTitle=wxCoupon.getSubTitle(); + return this; + } + + +}