content: package com.alibaba.tesla.tkgone.backend.domain.entity;
  
  import java.io.Serializable;
  import java.util.Date;
  
  public class BackendIndexDO implements Serializable {
      private Long id;
  
      private Date gmtCreate;
  
      private Date gmtModified;
  
      private String index;
  
      private Long backendId;
  
      private String alias;
  
      private static final long serialVersionUID = 1L;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public Date getGmtCreate() {
          return gmtCreate;
      }
  
      public void setGmtCreate(Date gmtCreate) {
          this.gmtCreate = gmtCreate;
      }
  
      public Date getGmtModified() {
          return gmtModified;
      }
  
      public void setGmtModified(Date gmtModified) {
          this.gmtModified = gmtModified;
      }
  
      public String getIndex() {
          return index;
      }
  
      public void setIndex(String index) {
          this.index = index == null ? null : index.trim();
      }
  
      public Long getBackendId() {
          return backendId;
      }
  
      public void setBackendId(Long backendId) {
          this.backendId = backendId;
      }
  
      public String getAlias() {
          return alias;
      }
  
      public void setAlias(String alias) {
          this.alias = alias == null ? null : alias.trim();
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          BackendIndexDO other = (BackendIndexDO) that;
          return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
              && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
              && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()))
              && (this.getIndex() == null ? other.getIndex() == null : this.getIndex().equals(other.getIndex()))
              && (this.getBackendId() == null ? other.getBackendId() == null : this.getBackendId().equals(other.getBackendId()))
              && (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()));
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
          result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
          result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
          result = prime * result + ((getIndex() == null) ? 0 : getIndex().hashCode());
          result = prime * result + ((getBackendId() == null) ? 0 : getBackendId().hashCode());
          result = prime * result + ((getAlias() == null) ? 0 : getAlias().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(", gmtCreate=").append(gmtCreate);
          sb.append(", gmtModified=").append(gmtModified);
          sb.append(", index=").append(index);
          sb.append(", backendId=").append(backendId);
          sb.append(", alias=").append(alias);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }