content: package org.superboot.entity.jpa;
  
  import javax.persistence.*;
  import java.sql.Timestamp;
  import java.util.Objects;
  
  /**
   * <b>  </b>
   * <p>
   * 功能描述:
   * </p>
   */
  @Entity
  @Table(name = "superboot_user", schema = "superboot", catalog = "")
  public class SuperbootUser {
      private Timestamp ts;
      private Integer dr;
      private Timestamp createtime;
      private Long createby;
      private Timestamp lastmodifytime;
      private Long lastmodifyby;
      private Long pkUser;
      private String userCode;
      private String userPassword;
      private String userEmail;
      private String userPhone;
      private Integer userStatus;
      private String userName;
      private String userId;
      private Integer userAuth;
      private String enKey;
      private Integer initUser;
      private Timestamp lastPasswordResetDate;
      private Long pkGroup;
      private String endTime;
  
      @Basic
      @Column(name = "ts")
      public Timestamp getTs() {
          return ts;
      }
  
      public void setTs(Timestamp ts) {
          this.ts = ts;
      }
  
      @Basic
      @Column(name = "dr")
      public Integer getDr() {
          return dr;
      }
  
      public void setDr(Integer dr) {
          this.dr = dr;
      }
  
      @Basic
      @Column(name = "createtime")
      public Timestamp getCreatetime() {
          return createtime;
      }
  
      public void setCreatetime(Timestamp createtime) {
          this.createtime = createtime;
      }
  
      @Basic
      @Column(name = "createby")
      public Long getCreateby() {
          return createby;
      }
  
      public void setCreateby(Long createby) {
          this.createby = createby;
      }
  
      @Basic
      @Column(name = "lastmodifytime")
      public Timestamp getLastmodifytime() {
          return lastmodifytime;
      }
  
      public void setLastmodifytime(Timestamp lastmodifytime) {
          this.lastmodifytime = lastmodifytime;
      }
  
      @Basic
      @Column(name = "lastmodifyby")
      public Long getLastmodifyby() {
          return lastmodifyby;
      }
  
      public void setLastmodifyby(Long lastmodifyby) {
          this.lastmodifyby = lastmodifyby;
      }
  
      @Id
      @Column(name = "pk_user")
      public Long getPkUser() {
          return pkUser;
      }
  
      public void setPkUser(Long pkUser) {
          this.pkUser = pkUser;
      }
  
      @Basic
      @Column(name = "user_code")
      public String getUserCode() {
          return userCode;
      }
  
      public void setUserCode(String userCode) {
          this.userCode = userCode;
      }
  
      @Basic
      @Column(name = "user_password")
      public String getUserPassword() {
          return userPassword;
      }
  
      public void setUserPassword(String userPassword) {
          this.userPassword = userPassword;
      }
  
      @Basic
      @Column(name = "user_email")
      public String getUserEmail() {
          return userEmail;
      }
  
      public void setUserEmail(String userEmail) {
          this.userEmail = userEmail;
      }
  
      @Basic
      @Column(name = "user_phone")
      public String getUserPhone() {
          return userPhone;
      }
  
      public void setUserPhone(String userPhone) {
          this.userPhone = userPhone;
      }
  
      @Basic
      @Column(name = "user_status")
      public Integer getUserStatus() {
          return userStatus;
      }
  
      public void setUserStatus(Integer userStatus) {
          this.userStatus = userStatus;
      }
  
      @Basic
      @Column(name = "user_name")
      public String getUserName() {
          return userName;
      }
  
      public void setUserName(String userName) {
          this.userName = userName;
      }
  
      @Basic
      @Column(name = "user_id")
      public String getUserId() {
          return userId;
      }
  
      public void setUserId(String userId) {
          this.userId = userId;
      }
  
      @Basic
      @Column(name = "user_auth")
      public Integer getUserAuth() {
          return userAuth;
      }
  
      public void setUserAuth(Integer userAuth) {
          this.userAuth = userAuth;
      }
  
      @Basic
      @Column(name = "en_key")
      public String getEnKey() {
          return enKey;
      }
  
      public void setEnKey(String enKey) {
          this.enKey = enKey;
      }
  
      @Basic
      @Column(name = "init_user")
      public Integer getInitUser() {
          return initUser;
      }
  
      public void setInitUser(Integer initUser) {
          this.initUser = initUser;
      }
  
      @Basic
      @Column(name = "last_password_reset_date")
      public Timestamp getLastPasswordResetDate() {
          return lastPasswordResetDate;
      }
  
      public void setLastPasswordResetDate(Timestamp lastPasswordResetDate) {
          this.lastPasswordResetDate = lastPasswordResetDate;
      }
  
      @Basic
      @Column(name = "pk_group")
      public Long getPkGroup() {
          return pkGroup;
      }
  
      public void setPkGroup(Long pkGroup) {
          this.pkGroup = pkGroup;
      }
  
      @Basic
      @Column(name = "end_time")
      public String getEndTime() {
          return endTime;
      }
  
      public void setEndTime(String endTime) {
          this.endTime = endTime;
      }
  
      @Override
      public boolean equals(Object o) {
          if (this == o) return true;
          if (o == null || getClass() != o.getClass()) return false;
          SuperbootUser that = (SuperbootUser) o;
          return Objects.equals(ts, that.ts) &&
                  Objects.equals(dr, that.dr) &&
                  Objects.equals(createtime, that.createtime) &&
                  Objects.equals(createby, that.createby) &&
                  Objects.equals(lastmodifytime, that.lastmodifytime) &&
                  Objects.equals(lastmodifyby, that.lastmodifyby) &&
                  Objects.equals(pkUser, that.pkUser) &&
                  Objects.equals(userCode, that.userCode) &&
                  Objects.equals(userPassword, that.userPassword) &&
                  Objects.equals(userEmail, that.userEmail) &&
                  Objects.equals(userPhone, that.userPhone) &&
                  Objects.equals(userStatus, that.userStatus) &&
                  Objects.equals(userName, that.userName) &&
                  Objects.equals(userId, that.userId) &&
                  Objects.equals(userAuth, that.userAuth) &&
                  Objects.equals(enKey, that.enKey) &&
                  Objects.equals(initUser, that.initUser) &&
                  Objects.equals(lastPasswordResetDate, that.lastPasswordResetDate) &&
                  Objects.equals(pkGroup, that.pkGroup) &&
                  Objects.equals(endTime, that.endTime);
      }
  
      @Override
      public int hashCode() {
  
          return Objects.hash(ts, dr, createtime, createby, lastmodifytime, lastmodifyby, pkUser, userCode, userPassword, userEmail, userPhone, userStatus, userName, userId, userAuth, enKey, initUser, lastPasswordResetDate, pkGroup, endTime);
      }
  }
  