content: package com.alibaba.tesla.tkgone.server.domain;
  
  import java.io.Serializable;
  import java.util.Date;
  
  public class ConsumerHistory implements Serializable {
      private Long id;
  
      private Date gmtCreate;
  
      private Date gmtModified;
  
      private Long consumerId;
  
      private String detail;
  
      private String states;
  
      private String name;
  
      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 Long getConsumerId() {
          return consumerId;
      }
  
      public void setConsumerId(Long consumerId) {
          this.consumerId = consumerId;
      }
  
      public String getDetail() {
          return detail;
      }
  
      public void setDetail(String detail) {
          this.detail = detail == null ? null : detail.trim();
      }
  
      public String getStates() {
          return states;
      }
  
      public void setStates(String states) {
          this.states = states == null ? null : states.trim();
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name == null ? null : name.trim();
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          ConsumerHistory other = (ConsumerHistory) 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.getConsumerId() == null ? other.getConsumerId() == null : this.getConsumerId().equals(other.getConsumerId()))
              && (this.getDetail() == null ? other.getDetail() == null : this.getDetail().equals(other.getDetail()))
              && (this.getStates() == null ? other.getStates() == null : this.getStates().equals(other.getStates()))
              && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()));
      }
  
      @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 + ((getConsumerId() == null) ? 0 : getConsumerId().hashCode());
          result = prime * result + ((getDetail() == null) ? 0 : getDetail().hashCode());
          result = prime * result + ((getStates() == null) ? 0 : getStates().hashCode());
          result = prime * result + ((getName() == null) ? 0 : getName().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(", consumerId=").append(consumerId);
          sb.append(", detail=").append(detail);
          sb.append(", states=").append(states);
          sb.append(", name=").append(name);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }