namespace StellaOps.JobEngine.WebService.Contracts;
///
/// Common query options for pagination.
///
public sealed record QueryOptions
{
/// Maximum number of results to return. Default 50.
public int Limit { get; init; } = 50;
/// Cursor for pagination (opaque token).
public string? Cursor { get; init; }
/// Sort order: "asc" or "desc". Default "desc".
public string? Sort { get; init; }
/// Filter by created after date.
public DateTimeOffset? CreatedAfter { get; init; }
/// Filter by created before date.
public DateTimeOffset? CreatedBefore { get; init; }
}