namespace SIGCM2.Application.Audit; /// Read projection of dbo.AuditEvent for GET /api/v1/audit/events. /// ActorUsername is resolved by join against dbo.Usuario at query time (denormalized in the DTO). public sealed record AuditEventDto( long Id, DateTime OccurredAt, int? ActorUserId, string? ActorUsername, string Action, string TargetType, string TargetId, Guid? CorrelationId, string? IpAddress, string? Metadata);