package com.macro.mall.dto;

import com.macro.mall.model.SmsCoupon;
import com.macro.mall.model.SmsCouponProductCategoryRelation;
import com.macro.mall.model.SmsCouponProductRelation;

import java.util.List;

/**
 * 优惠券信息封装，包括绑定商品和绑定分类
 * Created by macro on 2018/8/28.
 */
public class SmsCouponParam extends SmsCoupon {
    //优惠券绑定的商品
    private List<SmsCouponProductRelation> productRelationList;
    //优惠券绑定的商品分类
    private List<SmsCouponProductCategoryRelation> productCategoryRelationList;

    public List<SmsCouponProductRelation> getProductRelationList() {
        return productRelationList;
    }

    public void setProductRelationList(List<SmsCouponProductRelation> productRelationList) {
        this.productRelationList = productRelationList;
    }

    public List<SmsCouponProductCategoryRelation> getProductCategoryRelationList() {
        return productCategoryRelationList;
    }

    public void setProductCategoryRelationList(List<SmsCouponProductCategoryRelation> productCategoryRelationList) {
        this.productCategoryRelationList = productCategoryRelationList;
    }
}

@@ -176,16 +176,64 @@
 elation;
+%0Aimport io.swagger.annotations.ApiModelProperty;
 %0A%0Aimport
@@ -367,26 +367,43 @@
 n %7B%0A    
-//
+@ApiModelProperty(%22
 %E4%BC%98%E6%83%A0%E5%88%B8%E7%BB%91%E5%AE%9A%E7%9A%84%E5%95%86%E5%93%81
 %0A    pri
@@ -394,16 +394,18 @@
 %E4%BC%98%E6%83%A0%E5%88%B8%E7%BB%91%E5%AE%9A%E7%9A%84%E5%95%86%E5%93%81
+%22)
 %0A    pri
@@ -469,10 +469,27 @@
     
-//
+@ApiModelProperty(%22
 %E4%BC%98%E6%83%A0%E5%88%B8%E7%BB%91
@@ -494,16 +494,18 @@
 %E5%88%B8%E7%BB%91%E5%AE%9A%E7%9A%84%E5%95%86%E5%93%81%E5%88%86%E7%B1%BB
+%22)
 %0A    pri

Update SmsCouponParam.java