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 RoleMenuRelDO implements Serializable {
  
      private static final long serialVersionUID = 1L;
      private Long id;
      private String appId;
      private String roleName;
      private String menuCode;
      private String memo;
      private Date gmtCreate;
      private Date gmtModified;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getAppId() {
          return appId;
      }
  
      public void setAppId(String appId) {
          this.appId = appId == null ? null : appId.trim();
      }
  
      public String getRoleName() {
          return roleName;
      }
  
      public void setRoleName(String roleName) {
          this.roleName = roleName == null ? null : roleName.trim();
      }
  
      public String getMenuCode() {
          return menuCode;
      }
  
      public void setMenuCode(String menuCode) {
          this.menuCode = menuCode == null ? null : menuCode.trim();
      }
  
      public String getMemo() {
          return memo;
      }
  
      public void setMemo(String memo) {
          this.memo = memo == null ? null : memo.trim();
      }
  
      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;
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          RoleMenuRelDO other = (RoleMenuRelDO) that;
          return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                  && (this.getAppId() == null ? other.getAppId() == null : this.getAppId().equals(other.getAppId()))
                  && (this.getRoleName() == null ? other.getRoleName() == null : this.getRoleName().equals(other.getRoleName()))
                  && (this.getMenuCode() == null ? other.getMenuCode() == null : this.getMenuCode().equals(other.getMenuCode()))
                  && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()))
                  && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
                  && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
          result = prime * result + ((getAppId() == null) ? 0 : getAppId().hashCode());
          result = prime * result + ((getRoleName() == null) ? 0 : getRoleName().hashCode());
          result = prime * result + ((getMenuCode() == null) ? 0 : getMenuCode().hashCode());
          result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode());
          result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
          result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().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(", appId=").append(appId);
          sb.append(", roleName=").append(roleName);
          sb.append(", menuCode=").append(menuCode);
          sb.append(", memo=").append(memo);
          sb.append(", gmtCreate=").append(gmtCreate);
          sb.append(", gmtModified=").append(gmtModified);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }