Просмотр исходного кода

[C端][修改]:券渠道接口增加一些必要信息

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
53d310fdc0
1 измененных файлов: 14 добавлений и 0 удалений
  1. +14
    -0
      mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java

+ 14
- 0
mallinkService/src/main/java/com/simple/domain/vo/WxCouponChannelVo.java Просмотреть файл

@@ -13,11 +13,20 @@ import java.util.Date;
*/
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="title")
private String title;

/*副标题**/
@io.swagger.annotations.ApiModelProperty(value="副标题",name="subTitle")
private String subTitle;
@@ -31,6 +40,9 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable {
@io.swagger.annotations.ApiModelProperty(value="面额",name="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
private String salePriceStr;
@@ -182,6 +194,8 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable {
this.useLimitQuantity=wxCoupon.getUseLimitQuantity();
this.usePrice=wxCoupon.getUsePrice();
this.subTitle=wxCoupon.getSubTitle();
this.title=wxCoupon.getSubTitle();
this.type=wxCoupon.getType();
return this;
}



Загрузка…
Отмена
Сохранить