package com.zt.plat.module.qms.resource.device.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备-期间核查新增/修改 Request VO")
@Data
public class DevicePeriodCheckSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27613")
    private Long id;

    @Schema(description = "期间核查计划id", example = "21407")
    private Long planId;

    @Schema(description = "有效标识")
    private String effectiveFlag;

    @Schema(description = "设备ID", example = "31026")
    private Long deviceId;

    @Schema(description = "期间核查执行人")
    private String checkPersonRemark;

    @Schema(description = "核查人姓名", example = "张三")
    private String checkPersonName;

    @Schema(description = "核查人id", example = "29695")
    private Long checkPersonId;

    @Schema(description = "复核人姓名", example = "赵六")
    private String recheckPersonName;

    @Schema(description = "复核人id", example = "10898")
    private Long recheckPersonId;

    @Schema(description = "核查方法")
    private String checkAccording;

    @Schema(description = "核查方法描述")
    private String checkAccordingRemark;

    @Schema(description = "核查记录")
    private String checkContent;

    @Schema(description = "核查结论")
    private String checkResult;

    @Schema(description = "核查备注")
    private String checkRemark;

    @Schema(description = "实际检查日期")
    private LocalDateTime checkDate;

    @Schema(description = "核查对象类型")
    private String checkTarget;

    @Schema(description = "上次检查日期")
    private LocalDateTime lastCheckDate;

    @Schema(description = "计划检查日期-开始")
    private LocalDateTime planCheckDateStart;

    @Schema(description = "计划检查日期-截止")
    private LocalDateTime planCheckDateEnd;

    @Schema(description = "频次")
    private String frequencyRemark;

    @Schema(description = "审批状态", example = "2")
    private String flowStatus;

    @Schema(description = "流程实例id", example = "31647")
    private String flowInstanceId;

    @Schema(description = "表单id")
    private Long formId;

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

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

    //=================扩展字段==================>
    @Schema(description = "删除的文件id")
    private List<Long> deleteFileIdList;

}