content: package com.gitee.pifeng.monitoring.ui.business.web.entity;
  
  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.databind.annotation.JsonSerialize;
  import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
  import io.swagger.v3.oas.annotations.media.Schema;
  import lombok.Builder;
  import lombok.Data;
  import lombok.EqualsAndHashCode;
  import lombok.experimental.Accessors;
  
  import java.io.Serializable;
  import java.util.Date;
  
  /**
   * <p>
   * java虚拟机线程信息表
   * </p>
   *
   * @author 皮锋
   * @custom.date 2020/9/6 19:59
   */
  @Data
  @Builder
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
  @TableName("MONITOR_JVM_THREAD")
  @Schema(description = "MonitorJvmThread对象")
  public class MonitorJvmThread implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      @JsonSerialize(using = ToStringSerializer.class)
      @Schema(description = "主键ID")
      @TableId(value = "ID", type = IdType.AUTO)
      private Long id;
  
      @Schema(description = "应用实例ID")
      @TableField("INSTANCE_ID")
      private String instanceId;
  
      @Schema(description = "当前活动线程数")
      @TableField("THREAD_COUNT")
      private Integer threadCount;
  
      @Schema(description = "线程峰值")
      @TableField("PEAK_THREAD_COUNT")
      private Integer peakThreadCount;
  
      @Schema(description = "已创建并已启动的线程总数")
      @TableField("TOTAL_STARTED_THREAD_COUNT")
      private Integer totalStartedThreadCount;
  
      @Schema(description = "当前活动守护线程数")
      @TableField("DAEMON_THREAD_COUNT")
      private Integer daemonThreadCount;
  
      @Schema(description = "所有线程信息")
      @TableField("THREAD_INFOS")
      private String threadInfos;
  
      @Schema(description = "新增时间")
      @TableField("INSERT_TIME")
      private Date insertTime;
  
      @Schema(description = "更新时间")
      @TableField("UPDATE_TIME")
      private Date updateTime;
  
  }
  