package cn.iocoder.yudao.module.pms.controller.admin.qhse.accident.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Set;

@Schema(description = "管理后台 - QHSE事故上报 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotAccidentReportRespVO {

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

    @Schema(description = "事件事件", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("事件事件")
    private LocalDateTime actualTime;

    @Schema(description = "事件级别", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("事件级别")
    private String accidentGrade;

    @Schema(description = "事件类型", example = "2")
    @ExcelProperty("事件类型")
    private String accidentType;

    @Schema(description = "事件地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("事件地址")
    private String accidentAddress;

    @Schema(description = "部门id", example = "13049")
    @ExcelProperty("部门id")
    private Long deptId;

    @Schema(description = "队伍名称", example = "李四")
    @ExcelProperty("队伍名称")
    private String deptName;

    @Schema(description = "现场负责人")
    @ExcelProperty("现场负责人")
    private String dutyPerson;

    @Schema(description = "事件损失情况")
    @ExcelProperty("事件损失情况")
    private String lossSituation;

    @Schema(description = "现场采取措施")
    @ExcelProperty("现场采取措施")
    private String emergencyMeasure;

    @Schema(description = "事件简要经过", example = "随便")
    @ExcelProperty("事件简要经过")
    private String description;

    @Schema(description = "附件/现场图片")
    @ExcelProperty("附件/现场图片")
    private String pic;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 当前处理人
     */
    @Schema(description = "当前操作人数组", example = "1")
    private Set<Long> currentPerson;
    /**
     * 流程状态位
     */
    private String flowStatus;
    /**
     * 事件状态
     */
    private String status;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;
    private String processInstanceId;
}