namespace Managing.Api.Models.Requests;

/// <summary>
/// Response model for paginated backtest results
/// </summary>
public class PaginatedBacktestsResponse
{
    /// <summary>
    /// The list of backtests for the current page
    /// </summary>
    public IEnumerable<LightBacktestResponse> Backtests { get; set; } = new List<LightBacktestResponse>();

    /// <summary>
    /// Total number of backtests across all pages
    /// </summary>
    public int TotalCount { get; set; }

    /// <summary>
    /// Current page number
    /// </summary>
    public int CurrentPage { get; set; }

    /// <summary>
    /// Number of items per page
    /// </summary>
    public int PageSize { get; set; }

    /// <summary>
    /// Total number of pages
    /// </summary>
    public int TotalPages { get; set; }

    /// <summary>
    /// Whether there are more pages available
    /// </summary>
    public bool HasNextPage { get; set; }

    /// <summary>
    /// Whether there are previous pages available
    /// </summary>
    public bool HasPreviousPage { get; set; }
} 