java.lang.Object
es.kukenan.smartfi.microservice.clients.repository.entity.User
All Implemented Interfaces:
Serializable

@Entity public class User extends Object implements Serializable
DAO for user table in Database.
See Also:
  • Field Details

    • id

      private String id
      User Id.
    • name

      private String name
      User name.
    • surname

      private String surname
      User surname.
    • userDocument

      private List<UserDocument> userDocument
      list of user document.
    • documentId

      private String documentId
      User document id.
    • documentType

      private DocumentType documentType
      Type of user document.
    • birthDate

      private LocalDate birthDate
      User birthdate.
    • email

      private String email
      User email.
    • phone

      private String phone
      User phone.
    • phonePrefix

      private String phonePrefix
      User phone prefix.
    • password

      private String password
      User password hashcode.
    • companyId

      private String companyId
      Bank entity.
    • loginErrorCount

      private Integer loginErrorCount
      Login error count field.
    • lastLoginErrorDate

      private Timestamp lastLoginErrorDate
      Last login error date field.
    • lastLoginAccessDate

      private Timestamp lastLoginAccessDate
      Core user identifier update from FIDES and ALBATROS.
    • creationDate

      private Timestamp creationDate
      Creation date from FIDES and ALBATROS.
    • robinsonListDate

      private Timestamp robinsonListDate
      Robinson list date from FIDES and ALBATROS.
    • passwordChange

      private Boolean passwordChange
      passwordChange - new user.
    • firstDataCheck

      private Boolean firstDataCheck
      first data check - new user.
    • language

      private UserLanguage language
      User language.
    • gender

      private UserGender gender
      User gender.
    • civilStatus

      private UserCivilStatus civilStatus
      User civil status.
    • leavingDate

      private Timestamp leavingDate
      Leaving date.
    • natureType

      private String natureType
      Nature type.
    • userDeviceList

      private List<UserDevice> userDeviceList
      list of devices for user.
    • userBackoffice

      private List<UserBackoffice> userBackoffice
      list of user backoffice.
    • state

      private UserState state
      user status.
    • type

      private UserType type
      user status.
    • userCode

      private Integer userCode
      User code.
    • ebContract

      @NotNull private Boolean ebContract
      EB contract.
    • address

      private String address
      User address.
    • nationality

      private String nationality
      User nationality.
  • Constructor Details

    • User

      public User()
  • Method Details

    • allFieldEqualsNoPwd

      public boolean allFieldEqualsNoPwd(Object o)
      Test if all the fields in user entity have the same value that the given argument. Nested entities (UserDevice and UserBackoffice) and password hash are ignored.
      Parameters:
      o - the user entity to compare this instance to.
      Returns:
      the result of the comparison.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object