package com.snack.server.module.category.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 分类下拉选项（用于商品发布、绑定父分类等场景）
 */
@Data
@Schema(description = "分类下拉选项")
public class CategoryOptionVO implements Serializable {

    @Schema(description = "分类 ID")
    private Long id;

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

    @Schema(description = "层级")
    private Integer level;

    @Schema(description = "父分类 ID")
    private Long parentId;
}
