diff --git a/mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java b/mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java index 6e9b3f5..bc974d9 100644 --- a/mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java +++ b/mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java @@ -4,6 +4,8 @@ import com.macro.mall.model.SmsCoupon; import com.macro.mall.model.SmsCouponProductCategoryRelation; import com.macro.mall.model.SmsCouponProductRelation; import io.swagger.annotations.ApiModelProperty; +import lombok.Getter; +import lombok.Setter; import java.util.List; @@ -12,24 +14,12 @@ import java.util.List; * Created by macro on 2018/8/28. */ public class SmsCouponParam extends SmsCoupon { + @Getter + @Setter @ApiModelProperty("优惠券绑定的商品") private List productRelationList; + @Getter + @Setter @ApiModelProperty("优惠券绑定的商品分类") private List productCategoryRelationList; - - public List getProductRelationList() { - return productRelationList; - } - - public void setProductRelationList(List productRelationList) { - this.productRelationList = productRelationList; - } - - public List getProductCategoryRelationList() { - return productCategoryRelationList; - } - - public void setProductCategoryRelationList(List productCategoryRelationList) { - this.productCategoryRelationList = productCategoryRelationList; - } }