export interface RequestLog {
  logId: number;
  requestUrl: string;
  requestMethod: string;
  requestStatus: string;
  requestIp: string;
  responseStatus: number | null;
  responseTime: number | null;
  responseSize: number | null;
  errorMessage: string | null;
  requestedAt: string;
  serviceId: number | null;
  serviceName: string | null;
  apiKeyPrefix: string | null;
  userName: string | null;
  requestHeaders: string | null;
  requestParams: string | null;
}

export interface RequestLogSearch {
  startDate?: string;
  endDate?: string;
  serviceId?: number;
  requestStatus?: string;
  requestMethod?: string;
  requestIp?: string;
  page: number;
  size: number;
}

export interface PageResponse<T> {
  content: T[];
  page: number;
  size: number;
  totalElements: number;
  totalPages: number;
}
