package cn.iocoder.yudao.module.pms.controller.admin.qhse.hazard.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 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 IotHazardPageReqVO extends PageParam {

    @Schema(description = "状态", example = "1")
    private String status;

    @Schema(description = "排查时间")
    private LocalDateTime checkTime;
    @Schema(description = "整改要求")
    private String correctStandard;
    @Schema(description = "整改人")
    private Long correctPerson;

    @Schema(description = "地点")
    private String address;

    @Schema(description = "问题")
    private String problem;

    @Schema(description = "隐患照片/附件")
    private String hazardFile;

    @Schema(description = "整改描述")
    private String rectifyDesc;

    @Schema(description = "整改附件")
    private String rectifyFile;

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

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

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "来源")
    private String source;

}