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 ListCategoryVO {
    @ApiModelProperty("分类ID")
    private Long categoryID;
    @ApiModelProperty("分类名称")
    private String categoryName;
    @ApiModelProperty("父ID")
    private Long parentId;
    @ApiModelProperty("分类图标")
    private String icon;
    @ApiModelProperty("关联商品数量")
    private String resource;
    @ApiModelProperty("商户名称")
    private String shopName;
    @ApiModelProperty("商户ID")
    private Long shopId;
    @ApiModelProperty("状态 默认是1，表示正常状态,0为下线状态")
    private Integer status;
    @ApiModelProperty("是否可绑定商品 0、不能进行绑定 1、可进行绑定 ")
    private Integer productBeBound;
    @ApiModelProperty("排序")
    private Integer seq;
    @ApiModelProperty("当前层级")
    private Integer grade;
    @ApiModelProperty("下级分类")
    private List<ListCategoryVO> children;
}
