Class User
java.lang.Object
es.kukenan.smartfi.microservice.communication.repository.entity.User
- All Implemented Interfaces:
Serializable
User database entity.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringUser address.private UserCivilStatusUser civil status.private CompanyCompany.private @Size(max=20) StringIdentification document number.private DocumentTypeType of user document.private @Size(max=255) StringIdentification document number.private UserGenderUser gender.private @NotBlank @Size(max=100) StringUser identifier.private UserLanguageUser language.private @NotBlank @Size(max=100) StringUser name.private StringUser nationality.private @Size(max=1) StringNature type.private @NotNull BooleanIdentification document number.private @Size(max=20) StringIdentification document number.private @Size(max=5) StringIdentification document number.private PushNotificationPush information.private @NotNull BooleanIdentification document number.private @NotNull BooleanChange sms send type for email.private @Size(max=45) StringUser first surname.private IntegerUser code.private StringUser onboarding identifier.private @NotNull Booleanuser valid information for notification. -
Constructor Summary
ConstructorsConstructorDescriptionUser(String id, String name, String surname, String documentId, String email, String phone, String phonePrefix, Boolean robinsonList, UserLanguage language, UserGender gender, UserCivilStatus civilStatus, Boolean notificationsEnabled, Company company, PushNotification push, Boolean validInformation, String natureType, Boolean smsByEmail, DocumentType documentType, String address, String nationality) Contructor with all parameters with control of whitespaces in field email. -
Method Summary
-
Field Details
-
id
User identifier. -
name
User name. -
surname
User first surname. -
documentId
Identification document number. -
documentType
Type of user document. -
email
Identification document number. -
phone
Identification document number. -
phonePrefix
Identification document number. -
robinsonList
Identification document number. -
language
User language. -
gender
User gender. -
civilStatus
User civil status. -
notificationsEnabled
Identification document number. -
company
Company. -
push
Push information. -
validInformation
user valid information for notification. -
natureType
Nature type. -
userCode
User code. -
smsByEmail
Change sms send type for email. -
userOnboardingId
User onboarding identifier. -
address
User address. -
nationality
User nationality.
-
-
Constructor Details
-
User
public User(String id, String name, String surname, String documentId, String email, String phone, String phonePrefix, Boolean robinsonList, UserLanguage language, UserGender gender, UserCivilStatus civilStatus, Boolean notificationsEnabled, Company company, PushNotification push, Boolean validInformation, String natureType, Boolean smsByEmail, DocumentType documentType, String address, String nationality) Contructor with all parameters with control of whitespaces in field email.- Parameters:
id- User identifier.name- User name.surname- User first surname.documentId- Identification document number.email- User Email.phone- User phone.phonePrefix- User phone prefix.robinsonList- Robinson list.language- User language.gender- User gender.civilStatus- User civilStatus.notificationsEnabled- Notification enabled.company- Company.push- Push information.validInformation- user valid information for notification.natureType- Nature type.smsByEmail- SmsByEmail type.documentType- type of identification document.address- user address.nationality- user nationality.
-