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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 模板分类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TmplTpRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20895")
    @ExcelProperty("主键")
    private Long id;

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

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

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

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

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

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

}
