package com.zt.plat.module.base.controller.admin.templtp.vo;

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

import java.time.LocalDate;
import java.util.List;
@Data
public class TmplTpTreeVO{
    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20895")
    private Long id;

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

    @Schema(description = "类型编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String num;

    @Schema(description = "父类型主键;顶级为NULL", example = "20414")
    private Long prnId;

    @Schema(description = "同级排序序号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long srt;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private String sts;

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

    private List<TmplTpTreeVO> children;
}
