package com.zt.plat.module.qms.resource.record.controller.admin.recordfileattachment.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 RecordFileAttachmentPageReqVO extends PageParam {

    @Schema(description = "记录ID,文件记录ID", example = "23915")
    private Long recordId;

    @Schema(description = "文件表ID,关联文件记录表ID", example = "28216")
    private String fileId;

    @Schema(description = "原始父级Id", example = "15685")
    private Long mainId;

    @Schema(description = "是否最新版")
    private Integer currentFlag;

    @Schema(description = "文件版本号,文件版本号")
    private String fileVersion;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

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

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

}