package com.cameleer.server.app.dto;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "Currently running database query")
public record ActiveQueryResponse(
        @Schema(description = "Backend process ID") int pid,
        @Schema(description = "Query duration in seconds") double durationSeconds,
        @Schema(description = "Backend state (active, idle, etc.)") String state,
        @Schema(description = "SQL query text") String query
) {}
