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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

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

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - QHSE事故上报分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotAccidentReportPageReqVO extends PageParam {

    @Schema(description = "事件事件")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] actualTime;

    @Schema(description = "事件级别")
    private String accidentGrade;

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

    @Schema(description = "事件地址")
    private String accidentAddress;

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

    private Set<Long> ids;

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

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

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

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

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

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

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

    /**
     * 当前处理人
     */
    private Long currentPerson;
    /**
     * 流程状态位
     */
    private String flowStatus;
    /**
     * 事件状态
     */
    private String status;

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

}