From cd24a045bd9ee29505ddc9760d25f5d4037f4f0c Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 05 九月 2024 21:55:28 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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..e91c0d9 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