package com.zt.plat.module.qms.business.reportdoc.controller.vo;

import lombok.*;
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 ReportDocumentMainCorrelationPageReqVO extends PageParam {

    @Schema(description = "报告id", example = "21148")
    private Long mainId;

    @Schema(description = "关联id", example = "24996")
    private Long correlationId;

    @Schema(description = "关联类型", example = "2")
    private String correlationType;

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

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

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

}