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/YwThreshold.java |   85 +++++++++++++++++++++++++++---------------
 1 files changed, 55 insertions(+), 30 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
index 5ee3794..7f4542f 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java
@@ -1,58 +1,83 @@
 package com.ycl.platform.domain.entity;
 
-
 import annotation.Excel;
 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.ycl.system.entity.BaseEntity;
-import enumeration.general.BusinessTypeEnum;
 import lombok.Data;
+import org.apache.commons.lang.builder.ToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
+
+import java.util.Date;
 
 /**
  * 杩愮淮闃堝�煎璞� t_yw_threshold
  *
  * @author gonghl
- * @date 2024-03-25
+ * @date 2024-07-19
  */
 @Data
 @TableName("t_yw_threshold")
-public class YwThreshold extends BaseEntity {
-
+public class YwThreshold
+{
     private static final long serialVersionUID = 1L;
 
-    /**
-     * 涓婚敭
-     */
+    /**  */
     @TableId(value = "id", type = IdType.AUTO)
-    private Integer id;
+    private Long id;
 
-    /**
-     * 璁惧绫诲瀷锛�1浜鸿劯 2杞﹁締 3瑙嗛
-     */
+    /** 璁惧绫诲瀷 */
     @Excel(name = "璁惧绫诲瀷")
     @TableField("monitor_type")
-    private BusinessTypeEnum monitorType;
+    private String monitorType;
 
-    /**
-     * 瓒呮椂澶╂暟
-     */
-    @Excel(name = "瓒呮椂澶╂暟")
-    @TableField("timeout")
-    private Integer timeout;
+    /** 璁℃暟绫诲瀷 */
+    @Excel(name = "璁℃暟绫诲瀷")
+    @TableField("count_type")
+    private String countType;
 
-    /**
-     * 鎸囨爣json
-     */
-    @Excel(name = "鎸囨爣json")
-    @TableField("indicator")
-    private String indicator;
+    /** 閿�煎搴擸wThreadConstants */
+    @Excel(name = "閿��")
+    @TableField("`key`")
+    private String key;
 
-    /**
-     * 閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎
-     */
-    @TableField("deleted")
-    private String deleted;
+    /** 闃堝�煎悕 */
+    @Excel(name = "闃堝�煎悕")
+    @TableField("name")
+    private String name;
+
+    /** 鐩存帴涓嬪彂闃堝�� */
+    @Excel(name = "鐩存帴涓嬪彂闃堝��")
+    @TableField("value")
+    private String value;
+
+    /** 寰呬笅鍙戦槇鍊� */
+    @Excel(name = "寰呬笅鍙戦槇鍊�")
+    @TableField("value_auto")
+    private String valueAuto;
+
+    /** 鎻忚堪 */
+    @Excel(name = "鎻忚堪")
+    @TableField("description")
+    private String description;
+
+    /** 閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎 */
+    @Excel(name = "閫昏緫鍒犻櫎锛�0鏈垹闄� 1鍒犻櫎")
+    private Integer deleted;
+
+    /** 鍒涘缓鏃堕棿 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @TableField("create_time")
+    @Excel(name = "鍒涘缓鏃堕棿")
+    private Date createTime;
+
+    /** 鏇存柊鏃堕棿 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @TableField("update_time")
+    @Excel(name = "鏇存柊鏃堕棿")
+    private Date updateTime;
 
 }

--
Gitblit v1.8.0