From 7e8d51b6a2d2892c8eca2c8cefd91f7d1b6f8f40 Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期二, 11 十月 2022 09:33:29 +0800 Subject: [PATCH] 隐患上报,已经测过 --- src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java b/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java index aeb9963..30a38f5 100644 --- a/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java +++ b/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java @@ -73,7 +73,18 @@ * 上报开关 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; } -- Gitblit v1.9.2