package com.macro.mall.dto;

import com.macro.mall.model.PmsProductAttribute;
import com.macro.mall.model.PmsProductAttributeCategory;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 包含有分类下属性的dto
 * Created by macro on 2018/5/24.
 */
public class PmsProductAttributeCategoryItem extends PmsProductAttributeCategory {
    @ApiModelProperty(value = "商品属性列表")
    private List<PmsProductAttribute> productAttributeList;

    public List<PmsProductAttribute> getProductAttributeList() {
        return productAttributeList;
    }

    public void setProductAttributeList(List<PmsProductAttribute> productAttributeList) {
        this.productAttributeList = productAttributeList;
    }
}

@@ -175,16 +175,80 @@
 roperty;
+%0Aimport lombok.Data;%0Aimport lombok.Getter;%0Aimport lombok.Setter;
 %0A%0Aimport
@@ -406,16 +406,40 @@
 egory %7B%0A
+    @Getter%0A    @Setter%0A
     @Api
@@ -470,16 +470,16 @@
 %E5%93%81%E5%B1%9E%E6%80%A7%E5%88%97%E8%A1%A8%22)%0A
+
     priv
@@ -533,271 +533,7 @@
 ist;
-%0A%0A    public List%3CPmsProductAttribute%3E getProductAttributeList() %7B%0A        return productAttributeList;%0A    %7D%0A%0A    public void setProductAttributeList(List%3CPmsProductAttribute%3E productAttributeList) %7B%0A        this.productAttributeList = productAttributeList;%0A    %7D
 %0A%7D%0A

Update PmsProductAttributeCategoryItem.java