From c83101eb62f5d4906b9c01ceea6b21a37f9e84d8 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 18 十一月 2025 09:24:53 +0800
Subject: [PATCH] bug修复
---
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/YwThreshold.java | 85 +++++++++++++++++++++++++++---------------
1 files changed, 54 insertions(+), 31 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 b006a85..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,60 +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 lombok.Data;
-import org.apache.commons.lang3.builder.ToStringBuilder;
-import org.apache.commons.lang3.builder.ToStringStyle;
+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 = "璁惧绫诲瀷锛�1浜鸿劯 2杞﹁締 3瑙嗛")
+ /** 璁惧绫诲瀷 */
+ @Excel(name = "璁惧绫诲瀷")
@TableField("monitor_type")
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鍒犻櫎
- */
+ /** 闃堝�煎悕 */
+ @Excel(name = "闃堝�煎悕")
+ @TableField("name")
+ private String name;
- @TableField("deleted")
- private String deleted;
+ /** 鐩存帴涓嬪彂闃堝�� */
+ @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