namespace Managing.Api.Models.Responses;
///
/// Generic pagination response model
///
/// The type of items in the response
public class PaginatedResponse
{
///
/// The items for the current page
///
public List Items { get; set; } = new();
///
/// Total number of items across all pages
///
public int TotalCount { get; set; }
///
/// Current page number (1-based)
///
public int PageNumber { get; set; }
///
/// Number of items per page
///
public int PageSize { get; set; }
///
/// Total number of pages
///
public int TotalPages { get; set; }
///
/// Whether there is a previous page
///
public bool HasPreviousPage { get; set; }
///
/// Whether there is a next page
///
public bool HasNextPage { get; set; }
}