content: package com.cx.bank.mhg.bdemo.domain;
  
  import java.io.Serializable;
  import javax.persistence.GeneratedValue;
  import javax.persistence.Id;
  import javax.persistence.Table;
  
  /**
   * t_user
   * @author 
   */
  @Table(name="t_user")
  public class TUser implements Serializable {
      @Id
      @GeneratedValue
      private Integer userId;
  
      private String userName;
  
      private String userPassword;
  
      private Integer userFlag;
  
      private Double balance;
  
      private static final long serialVersionUID = 1L;
  
      public Integer getUserId() {
          return userId;
      }
  
      public void setUserId(Integer userId) {
          this.userId = userId;
      }
  
      public String getUserName() {
          return userName;
      }
  
      public void setUserName(String userName) {
          this.userName = userName;
      }
  
      public String getUserPassword() {
          return userPassword;
      }
  
      public void setUserPassword(String userPassword) {
          this.userPassword = userPassword;
      }
  
      public Integer getUserFlag() {
          return userFlag;
      }
  
      public void setUserFlag(Integer userFlag) {
          this.userFlag = userFlag;
      }
  
      public Double getBalance() {
          return balance;
      }
  
      public void setBalance(Double balance) {
          this.balance = balance;
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          TUser other = (TUser) that;
          return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
              && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
              && (this.getUserPassword() == null ? other.getUserPassword() == null : this.getUserPassword().equals(other.getUserPassword()))
              && (this.getUserFlag() == null ? other.getUserFlag() == null : this.getUserFlag().equals(other.getUserFlag()))
              && (this.getBalance() == null ? other.getBalance() == null : this.getBalance().equals(other.getBalance()));
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
          result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
          result = prime * result + ((getUserPassword() == null) ? 0 : getUserPassword().hashCode());
          result = prime * result + ((getUserFlag() == null) ? 0 : getUserFlag().hashCode());
          result = prime * result + ((getBalance() == null) ? 0 : getBalance().hashCode());
          return result;
      }
  
      @Override
      public String toString() {
          StringBuilder sb = new StringBuilder();
          sb.append(getClass().getSimpleName());
          sb.append(" [");
          sb.append("Hash = ").append(hashCode());
          sb.append(", userId=").append(userId);
          sb.append(", userName=").append(userName);
          sb.append(", userPassword=").append(userPassword);
          sb.append(", userFlag=").append(userFlag);
          sb.append(", balance=").append(balance);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }