Class BackofficeMonitorEventUpdateBody
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.backoffice.events.update.BackofficeMonitorEventUpdateBody
public class BackofficeMonitorEventUpdateBody
extends es.kukenan.smartfi.events.common.AbstractEventBody
Base class for the body of User settings Events.
Please note that @JsonInclude(Include.NON_NULL) annotation is specially important to make Optional.empty fields to be
serialized as null properties and null fields to bo not serialized at all.
This way, the event receptor will be able to distinguish not fields to leave unchanged (null) from fields to be removed (
Optional.empty).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @javax.validation.constraints.NotBlank intBack office ID.private @NotNull Stringuser ID.User identifier BE.birthdate identifier.Client civil status.company_id identifier.private Optional<ZonedDateTime>user creation date.doc Number Fiscal identifier.access by channel identifier.doc Type Fiscal identifier.doc Type Person identifier.email identifier.Client gender.language identifier.private Optional<ZonedDateTime>user leaving date.name identifier.Nature type.hash identifier.Change password flag.phone identifier.phone_prefix identifier.private Optional<ZonedDateTime>robinson_list date identifier.User state.first_surname identifier.User type. -
Constructor Summary
ConstructorsConstructorDescriptionBackofficeMonitorEventUpdateBody(String principal, int backOfficeId, String id, Optional<String> name, Optional<String> surname, Optional<String> email, Optional<String> phone, Optional<String> companyId, Optional<ZonedDateTime> robinsonListDate, Optional<Integer> language, Optional<LocalDate> birthDate, Optional<String> phonePrefix, Optional<String> docNumberPerson, Optional<Integer> docTypePerson, Optional<String> docNumberFiscal, Optional<Integer> docTypeFiscal, Optional<String> password, Optional<ZonedDateTime> creationDate, Optional<ZonedDateTime> leavingDate, Optional<Boolean> passwordChange, Optional<Integer> type, Optional<Integer> state, Optional<String> natureType, Optional<String> backOfficeUserIdBE, Optional<Integer> gender, Optional<Integer> civilStatus) Full state constructor. -
Method Summary
Methods inherited from class es.kukenan.smartfi.events.common.AbstractEventBody
canEqual, equals, getPrincipal, hashCode, setPrincipal, toString
-
Field Details
-
backOfficeId
@NotBlank private @javax.validation.constraints.NotBlank int backOfficeIdBack office ID. -
backOfficeUserId
user ID. -
name
name identifier. -
surname
first_surname identifier. -
email
email identifier. -
phone
phone identifier. -
companyId
company_id identifier. -
robinsonListDate
robinson_list date identifier. -
language
language identifier. -
gender
Client gender. -
civilStatus
Client civil status. -
birthDate
birthdate identifier. -
phonePrefix
phone_prefix identifier. -
docNumberPerson
access by channel identifier. -
docTypePerson
doc Type Person identifier. -
docNumberFiscal
doc Number Fiscal identifier. -
docTypeFiscal
doc Type Fiscal identifier. -
password
hash identifier. -
creationDate
user creation date. -
leavingDate
user leaving date. -
passwordChange
Change password flag. -
type
User type. -
state
User state. -
natureType
Nature type. -
backOfficeUserIdBE
User identifier BE.
-
-
Constructor Details
-
BackofficeMonitorEventUpdateBody
public BackofficeMonitorEventUpdateBody(String principal, int backOfficeId, String id, Optional<String> name, Optional<String> surname, Optional<String> email, Optional<String> phone, Optional<String> companyId, Optional<ZonedDateTime> robinsonListDate, Optional<Integer> language, Optional<LocalDate> birthDate, Optional<String> phonePrefix, Optional<String> docNumberPerson, Optional<Integer> docTypePerson, Optional<String> docNumberFiscal, Optional<Integer> docTypeFiscal, Optional<String> password, Optional<ZonedDateTime> creationDate, Optional<ZonedDateTime> leavingDate, Optional<Boolean> passwordChange, Optional<Integer> type, Optional<Integer> state, Optional<String> natureType, Optional<String> backOfficeUserIdBE, Optional<Integer> gender, Optional<Integer> civilStatus) Full state constructor.- Parameters:
principal- value of property principal in Notification EventbackOfficeId- where the value come fromid- identifier that represents the value of Notification Event identificationname- name usersurname- first surname useremail- email userphone- phone usercompanyId- company IdrobinsonListDate- robinson listlanguage- languagebirthDate- birth datephonePrefix- phone prefixdocNumberPerson- doc Number PersondocTypePerson- doc Type PersondocNumberFiscal- doc Number FiscaldocTypeFiscal- doc Type Fiscalpassword- password hashcreationDate- user creation dateleavingDate- leaving datepasswordChange- change password flagtype- user type, seeUserTypestate- user state, seeUserStatenatureType- nature typebackOfficeUserIdBE- User identifier BEgender- User gender.civilStatus- User civilStatus.
-