Class User
java.lang.Object
es.kukenan.smartfi.microservice.clients.repository.entity.User
- All Implemented Interfaces:
Serializable
DAO for user table in Database.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringUser address.private LocalDateUser birthdate.private UserCivilStatusUser civil status.private StringBank entity.private TimestampCreation date from FIDES and ALBATROS.private StringUser document id.private DocumentTypeType of user document.private BooleanEB contract.private StringUser email.private Booleanfirst data check - new user.private UserGenderUser gender.private StringUser Id.private UserLanguageUser language.private TimestampCore user identifier update from FIDES and ALBATROS.private TimestampLast login error date field.private TimestampLeaving date.private IntegerLogin error count field.private StringUser name.private StringUser nationality.private StringNature type.private StringUser password hashcode.private BooleanpasswordChange - new user.private StringUser phone.private StringUser phone prefix.private TimestampRobinson list date from FIDES and ALBATROS.private UserStateuser status.private StringUser surname.private UserTypeuser status.private List<UserBackoffice>list of user backoffice.private IntegerUser code.private List<UserDevice>list of devices for user.private List<UserDocument>list of user document. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest if all the fields in user entity have the same value that the given argument.booleaninthashCode()
-
Field Details
-
id
User Id. -
name
User name. -
surname
User surname. -
userDocument
list of user document. -
documentId
User document id. -
documentType
Type of user document. -
birthDate
User birthdate. -
email
User email. -
phone
User phone. -
phonePrefix
User phone prefix. -
password
User password hashcode. -
companyId
Bank entity. -
loginErrorCount
Login error count field. -
lastLoginErrorDate
Last login error date field. -
lastLoginAccessDate
Core user identifier update from FIDES and ALBATROS. -
creationDate
Creation date from FIDES and ALBATROS. -
robinsonListDate
Robinson list date from FIDES and ALBATROS. -
passwordChange
passwordChange - new user. -
firstDataCheck
first data check - new user. -
language
User language. -
gender
User gender. -
civilStatus
User civil status. -
leavingDate
Leaving date. -
natureType
Nature type. -
userDeviceList
list of devices for user. -
userBackoffice
list of user backoffice. -
state
user status. -
type
user status. -
userCode
User code. -
ebContract
EB contract. -
address
User address. -
nationality
User nationality.
-
-
Constructor Details
-
User
public User()
-
-
Method Details
-
allFieldEqualsNoPwd
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
-
hashCode
public int hashCode()
-