From e0ff6529b4364fdbf81d25f33e881118b147b3fa Mon Sep 17 00:00:00 2001
From: zf <1603559716@qq.com>
Date: 星期一, 31 七月 2023 13:04:41 +0800
Subject: [PATCH] bug修改

---
 src/main/java/com/gk/hotwork/Domain/SafetySelfInspectionDO.java |  112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 112 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/gk/hotwork/Domain/SafetySelfInspectionDO.java b/src/main/java/com/gk/hotwork/Domain/SafetySelfInspectionDO.java
new file mode 100644
index 0000000..e206228
--- /dev/null
+++ b/src/main/java/com/gk/hotwork/Domain/SafetySelfInspectionDO.java
@@ -0,0 +1,112 @@
+package com.gk.hotwork.Domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.gk.hotwork.Domain.dto.resp.SafetySelfInspectionElementRespDTO;
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.util.List;
+
+
+@Data
+public class SafetySelfInspectionDO {
+
+    /** 自查清单名称  inspection_name **/
+    private String inspectionName;
+
+    /** 检查时间  inspection_time  **/
+    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
+    private Date inspectionTime;
+
+    /** 检察人员  inspector **/
+    private Long inspector;
+
+    /** 被检查公司id **/
+    private Long checkedCompanyId;
+
+    /** 被检查公司名字 **/
+    private String checkedCompanyName;
+
+    /** 状态 0:暂存 1:评审中 2:已评审  status **/
+    private Integer status;
+
+    /** 不合格项数  **/
+    @TableField(exist = false)
+    private Integer unqualifiedItem;
+
+    /** 项数  **/
+    @TableField(exist = false)
+    private Integer itemSum;
+
+    /** 合格率  **/
+    private String qualifiedRate;
+
+    /** 角色id  **/
+    private Long roleid;
+
+    /** 检察人员   **/
+    private String inspectorName;
+
+    /** 检查开始时间   **/
+    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
+    private Date inspectionStartTime;
+
+    /** 检查结束时间   **/
+    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
+    private Date inspectionEndTime;
+
+    /** 主键id  id **/
+    @TableId(type = IdType.AUTO)
+    private Long id;
+
+    /** 有效标识  valid_flag **/
+    private Boolean validFlag;
+
+    /** 创建时间  create_time **/
+    private Date createTime;
+
+    /** 创建人  create_by **/
+    private String createBy;
+
+    /** 最新更新时间  update_time **/
+    private Date updateTime;
+
+    /** 最后更新人  update_by **/
+    private String updateBy;
+
+    //检查标识 2自查,1监管检查
+    private Byte flag;
+    /** 检查单位 **/
+    private String checkUnit;
+
+    /**
+     * 隐患总数
+     */
+    private Integer hdTocalCount;
+    /**
+     * 已整改数量
+     */
+    private Integer rectifyCount;
+    /**
+     * 未整改数量
+     */
+    private Integer unRectifyCount;
+    /**
+     * 一般隐患数量
+     */
+    private Integer sameAsCount;
+    /**
+     * 重大隐患数量
+     */
+    private Integer majorCount;
+    /**
+     * 整改状态 -1未整改 1部分整改 2全部整改
+     */
+    private Integer rectificationStatus;
+
+}

--
Gitblit v1.9.2