content: package com.vua.upms.dao.model;
  
  import java.io.Serializable;
  
  public class UpmsUserOrganization implements Serializable {
      /**
       * 编号
       *
       * @mbggenerated
       */
      private Integer userOrganizationId;
  
      /**
       * 用户编号
       *
       * @mbggenerated
       */
      private Integer userId;
  
      /**
       * 组织编号
       *
       * @mbggenerated
       */
      private Integer organizationId;
  
      private static final long serialVersionUID = 1L;
  
      public Integer getUserOrganizationId() {
          return userOrganizationId;
      }
  
      public void setUserOrganizationId(Integer userOrganizationId) {
          this.userOrganizationId = userOrganizationId;
      }
  
      public Integer getUserId() {
          return userId;
      }
  
      public void setUserId(Integer userId) {
          this.userId = userId;
      }
  
      public Integer getOrganizationId() {
          return organizationId;
      }
  
      public void setOrganizationId(Integer organizationId) {
          this.organizationId = organizationId;
      }
  
      @Override
      public String toString() {
          StringBuilder sb = new StringBuilder();
          sb.append(getClass().getSimpleName());
          sb.append(" [");
          sb.append("Hash = ").append(hashCode());
          sb.append(", userOrganizationId=").append(userOrganizationId);
          sb.append(", userId=").append(userId);
          sb.append(", organizationId=").append(organizationId);
          sb.append("]");
          return sb.toString();
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          UpmsUserOrganization other = (UpmsUserOrganization) that;
          return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId()))
              && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
              && (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId()));
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((getUserOrganizationId() == null) ? 0 : getUserOrganizationId().hashCode());
          result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
          result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode());
          return result;
      }
  }