package com.zt.plat.module.qms.common.dic.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 业务字典 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DictionaryBusinessRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20038")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "ID路径")
    @ExcelProperty("ID路径")
    private String idPath;

    @Schema(description = "上级ID", example = "17939")
    @ExcelProperty("上级ID")
    private Long parentId;

    @Schema(description = "节点类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("节点类型")
    private String nodeType;

    @Schema(description = "名称", example = "王五")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "键")
    @ExcelProperty("键")
    private String key;

    @Schema(description = "值")
    @ExcelProperty("值")
    private String value;

    @Schema(description = "其他配置")
    @ExcelProperty("其他配置")
    private String customConfig;

    @Schema(description = "排序号")
    @ExcelProperty("排序号")
    private Integer sortNo;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

}