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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

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

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

    @Schema(description = "分类树主键", example = "7804")
    private Long tpId;

    @Schema(description = "模板名称", example = "王五")
    private String name;

    @Schema(description = "模板编码")
    private String cdg;

    @Schema(description = "模板描述")
    private String dsp;

    @Schema(description = "实例文件内容")
    private String cntt;

    @Schema(description = "原始文件内容")
    private String origCntt;

    @Schema(description = "文件类型", example = "1")
    private String fileTp;

    @Schema(description = "版本号;如v1.0")
    private String ver;

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

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

}
