mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-04 03:27:05 -05: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; }
 | 
						|
}
 |