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

import com.alibaba.fastjson2.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 模板字段新增/修改 Request VO")
@Data
public class TmplTpFldSaveReqVO {
    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20895")
    private Long id;
    @Schema(description = "字段编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "code")
    private String fldKy;
    @Schema(description = "字段名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "代码")
    private String fldName;
    @Schema(description = "字段数据类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "string")
    private String datTp;
    @Schema(description = "字段描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "代码")
    private String fldDoc;
    @Schema(description = "字段备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "代码")
    private String rmk;
    @Schema(description = "是否必填", requiredMode = Schema.RequiredMode.REQUIRED, example = "Y or N")
    private String isMust;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "启用 or 禁用(0或1)")
    private Integer sts;

}
