mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
19 lines
487 B
C#
19 lines
487 B
C#
namespace API.Helpers;
|
|
#nullable enable
|
|
|
|
public class PaginationHeader
|
|
{
|
|
public PaginationHeader(int currentPage, int itemsPerPage, int totalItems, int totalPages)
|
|
{
|
|
CurrentPage = currentPage;
|
|
ItemsPerPage = itemsPerPage;
|
|
TotalItems = totalItems;
|
|
TotalPages = totalPages;
|
|
}
|
|
|
|
public int CurrentPage { get; set; }
|
|
public int ItemsPerPage { get; set; }
|
|
public int TotalItems { get; set; }
|
|
public int TotalPages { get; set; }
|
|
}
|