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

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

import java.time.LocalDate;

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

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

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

    @Schema(description = "字段名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("字段名称")
    private String fldName;

    @Schema(description = "数据类型", example = "")
    @ExcelProperty("数据类型")
    private String datTp;

    @Schema(description = "字段结构", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("字段结构")
    private String fldDoc;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("备注")
    private String rmk;

    @Schema(description = "是否必填， 建议值：Y（是）、N（否），需在业务层做枚举校验", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否必填")
    private String isMust;

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

    @Schema(description = "创建人名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建人名")
    private String  creatorName;

}
