Update PmsProductCategoryWithChildrenItem.java
This commit is contained in:
parent
683b6ddba0
commit
ccec8ba4d4
@ -2,6 +2,8 @@ package com.macro.mall.dto;
|
|||||||
|
|
||||||
import com.macro.mall.model.PmsProductCategory;
|
import com.macro.mall.model.PmsProductCategory;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -9,14 +11,8 @@ import java.util.List;
|
|||||||
* Created by macro on 2018/5/25.
|
* Created by macro on 2018/5/25.
|
||||||
*/
|
*/
|
||||||
public class PmsProductCategoryWithChildrenItem extends PmsProductCategory {
|
public class PmsProductCategoryWithChildrenItem extends PmsProductCategory {
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
@ApiModelProperty("子级分类")
|
@ApiModelProperty("子级分类")
|
||||||
private List<PmsProductCategory> children;
|
private List<PmsProductCategory> children;
|
||||||
|
|
||||||
public List<PmsProductCategory> getChildren() {
|
|
||||||
return children;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setChildren(List<PmsProductCategory> children) {
|
|
||||||
this.children = children;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user