package cn.iocoder.yudao.module.pms.controller.admin.qhse.hazard.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;

@Schema(description = "管理后台 - QHSE隐患排查及整改 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotHazardRespVO {

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

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态")
    private String status;

    @Schema(description = "隐患排查分类")
    private String classify;

    @Schema(description = "隐患排查分类名称")
    private String classifyName;

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

    private String correctPersonName;

    @Schema(description = "地点", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("地点")
    private String address;

    @Schema(description = "问题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("问题")
    private String problem;

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

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

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

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

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

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

    private String deptName;
}