package com.cy.guoyan.admin.module.guoyan.controller.admin.researchtopiccategory.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 国资研究专题分类树 Response VO")
@Data
public class ResearchTopicCategoryTreeRespVO {

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

    @Schema(description = "分类编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long categoryCode;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    private String categoryName;

    @Schema(description = "层级", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer level;

    @Schema(description = "父编号")
    private Long parentCode;

    @Schema(description = "父编号名称", example = "赵六")
    private String parentName;

    @Schema(description = "排序1", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer order1;

    @Schema(description = "排序2", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer order2;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @TableField(exist = false)
    private List<ResearchTopicCategoryTreeRespVO> children;

}