package com.wzj.soopin.goods.domain.dto;

import com.wzj.soopin.goods.domain.vo.H5ProductVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "商品分类数据传输对象")
@Data
public class CategoryDTO {
    @Schema(description = "分类ID")
    private Long id;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "分类图标")
    private String icon;

    @Schema(description = "分类下的商品列表")
    private List<H5ProductVO> productList;
}
