package com.yami.shop.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@ApiModel("用户端分类返回数据VO")
@Data
@Accessors(chain = true)
public class ListCategoryForUserVO {
    @ApiModelProperty("分类ID")
    private Long categoryId;
    @ApiModelProperty("分类名称")
    private String categoryName;
    @ApiModelProperty("父ID")
    private Long parentId;
    @ApiModelProperty("分类图标")
    private String icon;
    @ApiModelProperty("排序")
    private Integer seq;
    @ApiModelProperty("层级")
    private Integer grade;
    @ApiModelProperty("是否可绑定商品 0、不能进行绑定 1、可进行绑定 ")
    private Integer productBeBound;
    @ApiModelProperty("下级分类")
    private List<ListCategoryForUserVO> children;
}
