Package org.saidone.model.dto
Class AuditEntryDto
java.lang.Object
org.saidone.model.dto.AuditEntryDto
DTO representing a single audit entry returned by API/services.
An entry records the timestamp of an audited event along with a small
metadata map describing the request or response. The entry type and metadata keys are kept short using the constants defined in
AuditEntryKeys so that the persisted documents remain compact.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newAuditEntryDtowith its timestamp set to the current instant. -
Method Summary
-
Constructor Details
-
AuditEntryDto
public AuditEntryDto()Creates a newAuditEntryDtowith its timestamp set to the current instant. Other properties can be populated later before the entry is persisted viaAuditService.
-