java.lang.Object
es.kukenan.smartfi.microservice.smartficore.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.
    • documentType

      private DocumentType documentType
      Type of user document.
    • userDocument

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

      private String documentId
      User document id.
    • 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.
    • creationDate

      private LocalDateTime creationDate
      Creation date in number.
    • language

      private UserLanguage language
      User language.
    • gender

      private UserGender gender
      User gender.
    • civilStatus

      private UserCivilStatus civilStatus
      User civil status.
    • natureType

      private String natureType
      Nature type.
    • userCode

      private Integer userCode
      User code.
    • userBackoffice

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

      private UserState state
      user status.
    • type

      private UserType type
      user status.
    • entity

      private Entity entity
      Product product family.
    • country

      private Country country
      Product product family.
    • companyId

      private String companyId
      User company.
    • onboardingId

      private String onboardingId
      User onboarding.
    • address

      private String address
      User address.
    • city

      private String city
      User phone.
    • blacklisted

      private boolean blacklisted
      User phone.
    • insertDate

      private LocalDateTime insertDate
      Insert date.
    • insertUser

      private String insertUser
      Insert user.
    • updateDate

      private LocalDateTime updateDate
      Update date.
    • updateUser

      private String updateUser
      Update user.
    • userCompanies

      private Set<UserCompany> userCompanies
      list of user companies.
    • contracts

      private Set<Contract> contracts
      list of user contracts.
    • apcScore

      private ApcScore apcScore
      User apc score.
    • income

      private Float income
      User income.
    • advanceRequest

      private Boolean advanceRequest
      User advance_request.
    • creditRequest

      private Boolean creditRequest
      User credit_request.
    • codEmpleado

      private String codEmpleado
      User cod_empleado.
    • maxAdvanceRequest

      private Float maxAdvanceRequest
      User max_advance_request.
    • userBankAccounts

      private Set<AccountBank> userBankAccounts
      list of user bank accounts.
    • 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.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object