content: package com.alibaba.tesla.authproxy.model;
  
  import java.io.Serializable;
  import java.util.Date;
  
  /**
   * <p>Description: 操作日志对象 <／p>
   * <p>Copyright: Copyright (c) 2017<／p>
   * <p>Company: alibaba <／p>
   *
   * @author tandong.td@alibaba-inc.com
   * @version 1.0
   * @date 2017年5月3日
   */
  public class OplogDO implements Serializable {
  
      private static final long serialVersionUID = 1L;
      private Long id;
      private Date opTime;
      private String opUser;
      private String opAction;
      private Integer opResult;
      private Date gmtCreate;
      private Date gmtModified;
      private String memo;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public Date getOpTime() {
          return opTime;
      }
  
      public void setOpTime(Date opTime) {
          this.opTime = opTime;
      }
  
      public String getOpUser() {
          return opUser;
      }
  
      public void setOpUser(String opUser) {
          this.opUser = opUser == null ? null : opUser.trim();
      }
  
      public String getOpAction() {
          return opAction;
      }
  
      public void setOpAction(String opAction) {
          this.opAction = opAction == null ? null : opAction.trim();
      }
  
      public Integer getOpResult() {
          return opResult;
      }
  
      public void setOpResult(Integer opResult) {
          this.opResult = opResult;
      }
  
      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 getMemo() {
          return memo;
      }
  
      public void setMemo(String memo) {
          this.memo = memo == null ? null : memo.trim();
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          OplogDO other = (OplogDO) that;
          return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                  && (this.getOpTime() == null ? other.getOpTime() == null : this.getOpTime().equals(other.getOpTime()))
                  && (this.getOpUser() == null ? other.getOpUser() == null : this.getOpUser().equals(other.getOpUser()))
                  && (this.getOpAction() == null ? other.getOpAction() == null : this.getOpAction().equals(other.getOpAction()))
                  && (this.getOpResult() == null ? other.getOpResult() == null : this.getOpResult().equals(other.getOpResult()))
                  && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
                  && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()))
                  && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()));
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
          result = prime * result + ((getOpTime() == null) ? 0 : getOpTime().hashCode());
          result = prime * result + ((getOpUser() == null) ? 0 : getOpUser().hashCode());
          result = prime * result + ((getOpAction() == null) ? 0 : getOpAction().hashCode());
          result = prime * result + ((getOpResult() == null) ? 0 : getOpResult().hashCode());
          result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
          result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
          result = prime * result + ((getMemo() == null) ? 0 : getMemo().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(", opTime=").append(opTime);
          sb.append(", opUser=").append(opUser);
          sb.append(", opAction=").append(opAction);
          sb.append(", opResult=").append(opResult);
          sb.append(", gmtCreate=").append(gmtCreate);
          sb.append(", gmtModified=").append(gmtModified);
          sb.append(", memo=").append(memo);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }