Class Notification
java.lang.Object
es.kukenan.smartfi.microservice.communication.repository.entity.Notification
- All Implemented Interfaces:
Serializable
Notification database entity.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CampaignThe campaign this notification corresponds to (if any).private FloatNotification delivery cost.private @NotNull ZonedDateTimeCreation date.private @Size(max=5) StringNotification delivery cost currency.private @NotNull @Size(max=255) StringThe original destination address of this notification.private @Size(max=100) StringNotification external identifier.private @NotBlank @Size(max=100) StringNotification identifier.static final intMaximum admissible size for status description.private @NotNull MessageThe message this notification corresponds to.private IntegerNotification message count, if it was split in order to be delivered (for example, in SMS with more than 160 characters).private @NotNull NotificationStatusProvider used to send the notification.private @Size(max=1024) StringError description is the notification is in error status.private TemplateThe template used this notification corresponds to.private @NotNull ZonedDateTimeUpdate date.private @NotNull UserThe user the notification is send to. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_STATUS_DESCRIPTION
public static final int MAX_STATUS_DESCRIPTIONMaximum admissible size for status description.- See Also:
-
id
Notification identifier. -
externalId
Notification external identifier. -
creationDate
Creation date. -
updateDate
Update date. -
status
Provider used to send the notification. -
statusDescription
Error description is the notification is in error status. -
destination
The original destination address of this notification. -
cost
Notification delivery cost. -
currency
Notification delivery cost currency. -
msgCount
Notification message count, if it was split in order to be delivered (for example, in SMS with more than 160 characters). -
user
The user the notification is send to. -
message
The message this notification corresponds to. -
template
The template used this notification corresponds to. -
campaign
The campaign this notification corresponds to (if any).
-
-
Constructor Details
-
Notification
public Notification()
-