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 DeviceCalibrationSaveReqVO {

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

    @Schema(description = "检定校准计划id", example = "22068")
    private Long planId;

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

    @Schema(description = "设备id", example = "21116")
    private Long deviceId;

    @Schema(description = "供应商名称", example = "赵六")
    private String supplierName;

    @Schema(description = "供应商ID", example = "24250")
    private Long supplierId;

    @Schema(description = "校准点/范围")
    private String specification;

    @Schema(description = "计划检定校准日期")
    private LocalDateTime planCheckDate;

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

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

    @Schema(description = "类型：检定|校准", example = "2")
    private String checkType;

    @Schema(description = "检定校准日期")
    private LocalDateTime checkDate;

    @Schema(description = "检定校准单位")
    private String agent;

    @Schema(description = "证书编号")
    private String certificateCode;

    @Schema(description = "有效期")
    private LocalDateTime validityDate;

    @Schema(description = "确认情况（理由）")
    private String checkContent;

    @Schema(description = "确认结果")
    private String checkResult;

    @Schema(description = "检定校准状态", example = "2")
    private String flowStatus;

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

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

    @Schema(description = "作废状态")
    private Integer cancelFlag;

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

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

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

}