namespace BuildingBlocks.Core.Pagination; public interface IPageList where T : class { int CurrentPageSize { get; } int CurrentStartIndex { get; } int CurrentEndIndex { get; } int TotalPages { get; } bool HasPrevious { get; } bool HasNext { get; } IReadOnlyList Items { get; init; } int TotalCount { get; init; } int PageNumber { get; init; } int PageSize { get; init; } }