From bce5ddaccb8cb6107c1fe039dfa42c3a62ea2a66 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期四, 13 六月 2024 11:14:30 +0800 Subject: [PATCH] 添加 --- src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java | 130 ++----------------------------------------- 1 files changed, 7 insertions(+), 123 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java b/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java index 30a38f5..0644d37 100644 --- a/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java +++ b/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java @@ -2,9 +2,10 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; +import lombok.Data; import java.util.Date; - +@Data public class PreventRiskDangerInfo { /** @@ -27,7 +28,7 @@ /** * 隐患来源 * 1-日常排查;2-综合性排查;3-专业性排查;4-季节性排查;5-重点时段及节假日前排查 - * 6-事故类比排查;7-复产复工前排查;8-外聘专家诊断式排查;9-管控措施实效;10-其他;11-政府执法检查 + * 6-事故类比排查;7-复产复工前排查;8-外聘专家诊断式排查;9-管控措施实效;10-其他 * */ private Byte dangerSrc; /** @@ -58,6 +59,10 @@ * */ private Byte timeoutFlag; /** + * 隐患造成的结果:1-无;2-轻伤;3-重伤;4-死亡 + */ + private Byte dangerResult; + /** * 同步时间 */ private Date reportTime; @@ -73,127 +78,6 @@ * 上报开关 1-上报;2-不上报 */ private Byte reportSwitch; - /** - * 隐患造成的结果:1-无;2-轻伤;3-重伤;4-死亡 - */ - private Byte dangerResult; - public Byte getDangerResult() { - return dangerResult; - } - public void setDangerResult(Byte dangerResult) { - this.dangerResult = dangerResult; - } - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getUuid() { - return Uuid; - } - - public void setUuid(String uuid) { - Uuid = uuid; - } - - public Long getDangerCheckPointId() { - return dangerCheckPointId; - } - - public void setDangerCheckPointId(Long dangerCheckPointId) { - this.dangerCheckPointId = dangerCheckPointId; - } - - public String getHazardCode() { - return hazardCode; - } - - public void setHazardCode(String hazardCode) { - this.hazardCode = hazardCode; - } - - public Byte getDangerSrc() { - return dangerSrc; - } - - public void setDangerSrc(Byte dangerSrc) { - this.dangerSrc = dangerSrc; - } - - public String getDangerDesc() { - return dangerDesc; - } - - public void setDangerDesc(String dangerDesc) { - this.dangerDesc = dangerDesc; - } - - public String getDangerReason() { - return dangerReason; - } - - public void setDangerReason(String dangerReason) { - this.dangerReason = dangerReason; - } - - public Byte getHazardDangerType() { - return hazardDangerType; - } - - public void setHazardDangerType(Byte hazardDangerType) { - this.hazardDangerType = hazardDangerType; - } - - public Byte getDangerState() { - return dangerState; - } - - public void setDangerState(Byte dangerState) { - this.dangerState = dangerState; - } - - public Byte getTimeoutFlag() { - return timeoutFlag; - } - - public void setTimeoutFlag(Byte timeoutFlag) { - this.timeoutFlag = timeoutFlag; - } - - public Date getReportTime() { - return reportTime; - } - - public void setReportTime(Date reportTime) { - this.reportTime = reportTime; - } - - public Date getUpdateReportDataTime() { - return updateReportDataTime; - } - - public void setUpdateReportDataTime(Date updateReportDataTime) { - this.updateReportDataTime = updateReportDataTime; - } - - public Byte getReportStatus() { - return reportStatus; - } - - public void setReportStatus(Byte reportStatus) { - this.reportStatus = reportStatus; - } - - public Byte getReportSwitch() { - return reportSwitch; - } - - public void setReportSwitch(Byte reportSwitch) { - this.reportSwitch = reportSwitch; - } } -- Gitblit v1.9.2