content: package com.test.diff.services.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 java.io.Serializable;
  import java.util.Date;
  import lombok.Data;
  
  /**
   * 
   * @TableName coverage_app
   */
  @TableName(value ="coverage_app")
  @Data
  public class CoverageApp implements Serializable {
      /**
       * 自增id
       */
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
  
      /**
       * 项目id
       */
      @TableField(value = "project_id")
      private Integer projectId;
  
      /**
       * 应用名
       */
      @TableField(value = "app_name")
      private String appName;
  
      /**
       * 收集状态：收集中：未收集
       */
      @TableField(value = "status")
      private Boolean status;
  
      /**
       * 服务器ip
       */
      @TableField(value = "host")
      private String host;
  
      /**
       * jacoco端口
       */
      @TableField(value = "port")
      private String port;
  
      /**
       * 匹配通配符
       */
      @TableField(value = "includes")
      private String includes;
  
      /**
       * 排除通配符
       */
      @TableField(value = "excludes")
      private String excludes;
  
      /**
       * 是否禁用
       */
      @TableField(value = "is_disable")
      private Boolean isDisable;
  
      /**
       * 是否删除
       */
      @TableField(value = "is_delete")
      private Boolean isDelete;
  
      /**
       * 添加时间
       */
      @TableField(value = "add_time")
      private Date addTime;
  
      /**
       * 修改时间
       */
      @TableField(value = "last_time")
      private Date lastTime;
  
      @TableField(exist = false)
      private static final long serialVersionUID = 1L;
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          CoverageApp other = (CoverageApp) that;
          return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
              && (this.getProjectId() == null ? other.getProjectId() == null : this.getProjectId().equals(other.getProjectId()))
              && (this.getAppName() == null ? other.getAppName() == null : this.getAppName().equals(other.getAppName()))
              && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
              && (this.getHost() == null ? other.getHost() == null : this.getHost().equals(other.getHost()))
              && (this.getPort() == null ? other.getPort() == null : this.getPort().equals(other.getPort()))
              && (this.getIncludes() == null ? other.getIncludes() == null : this.getIncludes().equals(other.getIncludes()))
              && (this.getExcludes() == null ? other.getExcludes() == null : this.getExcludes().equals(other.getExcludes()))
              && (this.getIsDisable() == null ? other.getIsDisable() == null : this.getIsDisable().equals(other.getIsDisable()))
              && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
              && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
              && (this.getLastTime() == null ? other.getLastTime() == null : this.getLastTime().equals(other.getLastTime()));
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
          result = prime * result + ((getProjectId() == null) ? 0 : getProjectId().hashCode());
          result = prime * result + ((getAppName() == null) ? 0 : getAppName().hashCode());
          result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
          result = prime * result + ((getHost() == null) ? 0 : getHost().hashCode());
          result = prime * result + ((getPort() == null) ? 0 : getPort().hashCode());
          result = prime * result + ((getIncludes() == null) ? 0 : getIncludes().hashCode());
          result = prime * result + ((getExcludes() == null) ? 0 : getExcludes().hashCode());
          result = prime * result + ((getIsDisable() == null) ? 0 : getIsDisable().hashCode());
          result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
          result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
          result = prime * result + ((getLastTime() == null) ? 0 : getLastTime().hashCode());
          return result;
      }
  
      @Override
      public String toString() {
          StringBuilder sb = new StringBuilder();
          sb.append(getClass().getSimpleName());
          sb.append(" [");
          sb.append("Hash = ").append(hashCode());
          sb.append(", id=").append(id);
          sb.append(", projectId=").append(projectId);
          sb.append(", appName=").append(appName);
          sb.append(", status=").append(status);
          sb.append(", host=").append(host);
          sb.append(", port=").append(port);
          sb.append(", includes=").append(includes);
          sb.append(", excludes=").append(excludes);
          sb.append(", isDisable=").append(isDisable);
          sb.append(", isDelete=").append(isDelete);
          sb.append(", addTime=").append(addTime);
          sb.append(", lastTime=").append(lastTime);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }