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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.cy.guoyan.admin.module.guoyan.controller.admin.researchtopiccategory.vo.ResearchTopicCategoryTreeRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 国企改革法规主题分类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StateOwnedReformLawCategoryTreeVO {

    @Schema(description = "雪花ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8262")
    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 = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "1104")
    private String remark;

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

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

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


}