package com.cy.guoyan.admin.module.guoyan.controller.admin.stateownedreformbestpracticecategory.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 StateOwnedReformBestPracticeCategoryTreeVO {

    @Schema(description = "雪花ID（自增）", requiredMode = Schema.RequiredMode.REQUIRED, example = "6195")
    @ExcelProperty("雪花ID（自增）")
    private Long id;

    @Schema(description = "原始UUID", example = "2853")
    @ExcelProperty("原始UUID")
    private String oid;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("名称")
    private String categoryName;

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

    @Schema(description = "父序号", example = "32174")
    @ExcelProperty("父序号")
    private String parentId;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态")
    private String status;

    @Schema(description = "登记人名称", example = "璨阳")
    @ExcelProperty("登记人名称")
    private String creatorName;

    @Schema(description = "登记时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("登记时间")
    private LocalDateTime createTime;

    @Schema(description = "修改人名称", example = "张三")
    @ExcelProperty("修改人名称")
    private String updaterName;

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


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

}