Class AuditEntryDto

java.lang.Object
org.saidone.model.dto.AuditEntryDto

public class AuditEntryDto extends Object
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 Details

    • AuditEntryDto

      public AuditEntryDto()
      Creates a new AuditEntryDto with its timestamp set to the current instant. Other properties can be populated later before the entry is persisted via AuditService.