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

import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;


@Schema(description = "管理后台 - 模板字段分页 Request VO")
@Data
public class TmplFldPageReqVO extends PageParam {

    @Schema(description = "字段编码", example = "")
    private String fldKy;

    @Schema(description = "字段名称")
    private String fldName;

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

    @Schema(description = "字段结构")
    private String fldDoc;

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

    @Schema(description = "状态")
    private String sts;

    @Schema(description = "是否必填")
    private String isMust;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] createTime;

}
