From 3b0516a2959e25576e4f3fda697a3b025d06c8c9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 24 六月 2025 14:09:07 +0800
Subject: [PATCH] 每日录像可用指标添加日志,修改大屏为查看当前月平均

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java |  136 +++++++++++---------------------------------
 1 files changed, 35 insertions(+), 101 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java
index f2bb4b8..86b9dff 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java
@@ -1,137 +1,71 @@
 package com.ycl.platform.domain.entity;
 
 import annotation.Excel;
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ycl.system.entity.BaseEntity;
+import lombok.Data;
 import org.apache.commons.lang.builder.ToStringBuilder;
 import org.apache.commons.lang.builder.ToStringStyle;
 
+import java.util.Date;
+
 /**
  * 鑰冩牳瑙勫垯瀵硅薄 t_check_rule
- * 
+ *
  * @author ruoyi
- * @date 2024-04-01
+ * @date 2024-04-15
  */
-public class CheckRule extends BaseEntity
+@Data
+@TableName("t_check_rule")
+public class CheckRule
 {
     private static final long serialVersionUID = 1L;
 
     /**  */
     private Long id;
-
     /** 瑙勫垯鍚嶇О */
     @Excel(name = "瑙勫垯鍚嶇О")
     private String ruleName;
 
-    /** 瑙勫垯缁嗗垯 */
-    @Excel(name = "瑙勫垯缁嗗垯")
+    /** 瀵瑰簲index琛ㄥ瓧娈靛悕 */
+    @Excel(name = "瀵瑰簲index琛ㄥ瓧娈靛悕")
     private String ruleIndex;
 
-    /** 瑙勫垯绫诲瀷 */
-    @Excel(name = "瑙勫垯绫诲瀷")
-    private Long ruleCategory;
+    /** 0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇� */
+    @Excel(name = "0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇�")
+    private Short ruleCategory;
 
-    /** 鑰冩牳绫诲瀷 */
-    @Excel(name = "鑰冩牳绫诲瀷")
-    private Long examineCategory;
+    /** 鍙厤缃殑瑙勫垯鍙傛暟json */
+    @Excel(name = "鍙厤缃殑瑙勫垯鍙傛暟json")
+    private String ruleCondition;
 
     /** 瑙勫垯鎻忚堪 */
     @Excel(name = "瑙勫垯鎻忚堪")
     private String ruleDescription;
 
-    /** 鍚敤鐘舵�� */
-    @Excel(name = "鍚敤鐘舵��")
-    private Long state;
+    /** 0/1 鍚敤/鍋滅敤 */
+    @Excel(name = "0/1 鍚敤/鍋滅敤")
+    private Short state;
 
     /** 閫昏緫鍒犻櫎 */
-    private String deleted;
+    @Excel(name = "閫昏緫鍒犻櫎")
+    private Integer deleted;
 
-    public void setId(Long id) 
-    {
-        this.id = id;
-    }
+    /** 鍥炬爣 */
+    @Excel(name = "icon")
+    private String icon;
 
-    public Long getId() 
-    {
-        return id;
-    }
-    public void setRuleName(String ruleName) 
-    {
-        this.ruleName = ruleName;
-    }
+    /** 鏇存柊鏃堕棿 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
 
-    public String getRuleName() 
-    {
-        return ruleName;
-    }
-    public void setRuleIndex(String ruleIndex)
-    {
-        this.ruleIndex = ruleIndex;
-    }
+    /** 鏁版嵁涓績瀵瑰簲鐨勬帴鍙e湴鍧� */
+    private String apiUrl;
 
-    public String getRuleIndex()
-    {
-        return ruleIndex;
-    }
-    public void setRuleCategory(Long ruleCategory) 
-    {
-        this.ruleCategory = ruleCategory;
-    }
+    /** 鎺掑簭鍊� */
+    private Integer orderNum;
 
-    public Long getRuleCategory() 
-    {
-        return ruleCategory;
-    }
-    public void setExamineCategory(Long examineCategory) 
-    {
-        this.examineCategory = examineCategory;
-    }
-
-    public Long getExamineCategory() 
-    {
-        return examineCategory;
-    }
-    public void setRuleDescription(String ruleDescription) 
-    {
-        this.ruleDescription = ruleDescription;
-    }
-
-    public String getRuleDescription() 
-    {
-        return ruleDescription;
-    }
-
-    public void setState(Long state) 
-    {
-        this.state = state;
-    }
-
-    public Long getState() 
-    {
-        return state;
-    }
-    public void setDeleted(String deleted) 
-    {
-        this.deleted = deleted;
-    }
-
-    public String getDeleted() 
-    {
-        return deleted;
-    }
-
-    @Override
-    public String toString() {
-        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
-            .append("id", getId())
-            .append("ruleName", getRuleName())
-            .append("ruleIndex", getRuleIndex())
-            .append("ruleCategory", getRuleCategory())
-            .append("examineCategory", getExamineCategory())
-            .append("ruleDescription", getRuleDescription())
-            .append("state", getState())
-            .append("createTime", getCreateTime())
-            .append("updateTime", getUpdateTime())
-            .append("deleted", getDeleted())
-            .toString();
-    }
 }

--
Gitblit v1.8.0