package com.macro.mall.dto;

import com.macro.mall.model.PmsProductCategory;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created by macro on 2018/5/25.
 */
public class PmsProductCategoryWithChildrenItem extends PmsProductCategory {
    @ApiModelProperty("子级分类")
    private List<PmsProductCategory> children;

    public List<PmsProductCategory> getChildren() {
        return children;
    }

    public void setChildren(List<PmsProductCategory> children) {
        this.children = children;
    }
}

@@ -117,16 +117,60 @@
 roperty;
+%0Aimport lombok.Getter;%0Aimport lombok.Setter;
 %0A%0Aimport
@@ -306,16 +306,40 @@
 egory %7B%0A
+    @Getter%0A    @Setter%0A
     @Api
@@ -360,16 +360,16 @@
 %22%E5%AD%90%E7%BA%A7%E5%88%86%E7%B1%BB%22)%0A
+
     priv
@@ -410,197 +410,7 @@
 ren;
-%0A%0A    public List%3CPmsProductCategory%3E getChildren() %7B%0A        return children;%0A    %7D%0A%0A    public void setChildren(List%3CPmsProductCategory%3E children) %7B%0A        this.children = children;%0A    %7D
 %0A%7D%0A

Update PmsProductCategoryWithChildrenItem.java