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

    @Schema(description = "文件记录id", example = "30001")
    private Long rcdId;

    @Schema(description = "目标对象id", example = "16509")
    private Long tgtId;

    @Schema(description = "目标对象类型,业务类型：设备、物料试剂、原始记录等")
    private String tgtTp;

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

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

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

}