zxl
2025-06-24 3b0516a2959e25576e4f3fda697a3b025d06c8c9
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;
    /** 键值对应YwThreadConstants */
    @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;
}