Represents an alert aggregate with breach details and lifecycle operations.
The alert identifier.
The breach details associated with the alert.
The timestamp when the alert was created.
The current delivery status of the alert.
The timestamp when the alert was sent, if any.
The failure reason when sending fails, if any.
The timestamp when the alert was read, if any.
Readonly
Static
Optional
Represents an alert aggregate with breach details and lifecycle operations.
Param: id
The alert identifier.
Param: details
The breach details associated with the alert.
Param: createdAt
The timestamp when the alert was created.
Param: _status
The current delivery status of the alert.
Param: _sentAt
The timestamp when the alert was sent, if any.
Param: _failReason
The failure reason when sending fails, if any.
Param: _readAt
The timestamp when the alert was read, if any.