content: package com.gitee.pifeng.monitoring.server.business.server.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 lombok.Builder;
  import lombok.Data;
  import lombok.EqualsAndHashCode;
  import lombok.experimental.Accessors;
  
  import java.util.Date;
  
  /**
   * <p>
   * 服务器进程历史记录表
   * </p>
   *
   * @author 皮锋
   * @custom.date 2021-09-15
   */
  @Data
  @Builder
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
  @TableName("MONITOR_SERVER_PROCESS_HISTORY")
  public class MonitorServerProcessHistory {
  
      /**
       * 主键ID
       */
      @TableId(value = "ID", type = IdType.AUTO)
      private Long id;
  
      /**
       * IP地址
       */
      @TableField("IP")
      private String ip;
  
      /**
       * 正在运行的进程数
       */
      @TableField("PROCESS_NUM")
      private Integer processNum;
  
      /**
       * 新增时间
       */
      @TableField("INSERT_TIME")
      private Date insertTime;
  
      /**
       * 更新时间
       */
      @TableField("UPDATE_TIME")
      private Date updateTime;
  
  }
  