package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.hazard; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDate; import java.time.LocalDateTime; @Schema(description = "管理后台 - 安全生产-隐患 Response VO") @Data public class MesSafetyHazardRespVO { @Schema(description = "编号", example = "1024") private Long id; @Schema(description = "隐患编码", example = "YH-001") private String code; @Schema(description = "隐患名称", example = "配电箱缺防护罩") private String name; @Schema(description = "隐患来源", example = "1") private Integer source; @Schema(description = "隐患等级", example = "1") private Integer hazardLevel; @Schema(description = "隐患类别", example = "1") private Integer category; @Schema(description = "关联风险单元编号", example = "1") private Long unitId; @Schema(description = "关联风险单元名称") private String unitName; @Schema(description = "关联风险清单编号", example = "1") private Long riskId; @Schema(description = "关联风险名称") private String riskName; @Schema(description = "所属车间编号", example = "7") private Long workshopId; @Schema(description = "所属车间名称") private String workshopName; @Schema(description = "具体位置") private String location; @Schema(description = "隐患描述") private String description; @Schema(description = "发现日期") private LocalDate foundDate; @Schema(description = "发现人编号", example = "1") private Long founderUserId; @Schema(description = "发现人姓名") private String founderUserName; @Schema(description = "整改责任人编号", example = "1") private Long chargeUserId; @Schema(description = "整改责任人姓名") private String chargeUserName; @Schema(description = "整改期限") private LocalDate deadline; @Schema(description = "整改要求") private String rectifyRequirement; @Schema(description = "状态", example = "0") private Integer status; @Schema(description = "是否超期", example = "false") private Boolean overdue; @Schema(description = "整改措施") private String measure; @Schema(description = "整改完成日期") private LocalDate finishDate; @Schema(description = "验收人编号", example = "1") private Long checkUserId; @Schema(description = "验收人姓名") private String checkUserName; @Schema(description = "验收时间") private LocalDateTime checkTime; @Schema(description = "验收意见") private String checkResult; @Schema(description = "验收驳回原因") private String rejectReason; @Schema(description = "备注") private String remark; @Schema(description = "创建时间") private LocalDateTime createTime; }