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 |   88 ++++++++++++++++++++++---------------------
 1 files changed, 45 insertions(+), 43 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 fbde5fb..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,69 +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.ycl.platform.base.AbsEntity;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ycl.system.entity.BaseEntity;
 import lombok.Data;
-import lombok.experimental.Accessors;
+import org.apache.commons.lang.builder.ToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
 
 import java.util.Date;
 
 /**
- * 鑰冩牳瑙勫垯
+ * 鑰冩牳瑙勫垯瀵硅薄 t_check_rule
  *
- * @author xp
- * @since 2024-03-06
+ * @author ruoyi
+ * @date 2024-04-15
  */
 @Data
-@Accessors(chain = true)
 @TableName("t_check_rule")
-@ApiModel(value = "CheckRule瀵硅薄", description = "鑰冩牳瑙勫垯")
-public class CheckRule extends AbsEntity {
-
+public class CheckRule
+{
     private static final long serialVersionUID = 1L;
 
-    @ApiModelProperty("瑙勫垯鍚嶇О")
-    @TableField("rule_name")
+    /**  */
+    private Long id;
+    /** 瑙勫垯鍚嶇О */
+    @Excel(name = "瑙勫垯鍚嶇О")
     private String ruleName;
 
-    @ApiModelProperty("瑙勫垯鎻忚堪")
-    @TableField("rule_detail")
-    private String ruleDetail;
+    /** 瀵瑰簲index琛ㄥ瓧娈靛悕 */
+    @Excel(name = "瀵瑰簲index琛ㄥ瓧娈靛悕")
+    private String ruleIndex;
 
-    @ApiModelProperty("澶╃綉瑙嗛鐐逛綅鏁�")
-    @TableField("video_point_num")
-    private Integer videoPointNum;
+    /** 0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇� */
+    @Excel(name = "0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇�")
+    private Short ruleCategory;
 
-    @ApiModelProperty("杞﹁締鍗″彛鐐逛綅鏁�")
-    @TableField("vehicle_checkpoint_num")
-    private Integer vehicleCheckpointNum;
+    /** 鍙厤缃殑瑙勫垯鍙傛暟json */
+    @Excel(name = "鍙厤缃殑瑙勫垯鍙傛暟json")
+    private String ruleCondition;
 
-    @ApiModelProperty("浜鸿劯鍗″彛鐐逛綅鏁�")
-    @TableField("face_chceckpoint_num")
-    private Integer faceChceckpointNum;
+    /** 瑙勫垯鎻忚堪 */
+    @Excel(name = "瑙勫垯鎻忚堪")
+    private String ruleDescription;
 
-    @ApiModelProperty("杩愮淮绫诲埆")
-    @TableField("category")
-    private Integer category;
-    @ApiModelProperty("鑰冩牳绫诲埆")
-    @TableField("examine_category")
-    private Integer examineCategory;
+    /** 0/1 鍚敤/鍋滅敤 */
+    @Excel(name = "0/1 鍚敤/鍋滅敤")
+    private Short state;
 
+    /** 閫昏緫鍒犻櫎 */
+    @Excel(name = "閫昏緫鍒犻櫎")
+    private Integer deleted;
 
-    @ApiModelProperty("瀹℃牳鐘舵��")
-    @TableField("audit_state")
-    private Integer auditState;
-    @ApiModelProperty("瀹℃牳浜�")
-    @TableField("audit_user")
-    private String auditUser;
-    @ApiModelProperty("瀹℃牳鏃堕棿")
-    @TableField("audit_time")
-    private Date auditTime;
-    @ApiModelProperty("瀹℃牳鎰忚")
-    @TableField("audit_description")
-    private String auditDescription;
+    /** 鍥炬爣 */
+    @Excel(name = "icon")
+    private String icon;
 
+    /** 鏇存柊鏃堕棿 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /** 鏁版嵁涓績瀵瑰簲鐨勬帴鍙e湴鍧� */
+    private String apiUrl;
+
+    /** 鎺掑簭鍊� */
+    private Integer orderNum;
 
 }

--
Gitblit v1.8.0