|
@@ -2,6 +2,8 @@ package com.macro.mall.dto;
|
|
|
|
|
|
import com.macro.mall.model.PmsProductCategory;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Getter;
|
|
|
+import lombok.Setter;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -9,14 +11,8 @@ import java.util.List;
|
|
|
* Created by macro on 2018/5/25.
|
|
|
*/
|
|
|
public class PmsProductCategoryWithChildrenItem extends PmsProductCategory {
|
|
|
+ @Getter
|
|
|
+ @Setter
|
|
|
@ApiModelProperty("子级分类")
|
|
|
private List<PmsProductCategory> children;
|
|
|
-
|
|
|
- public List<PmsProductCategory> getChildren() {
|
|
|
- return children;
|
|
|
- }
|
|
|
-
|
|
|
- public void setChildren(List<PmsProductCategory> children) {
|
|
|
- this.children = children;
|
|
|
- }
|
|
|
}
|