Data class representing pagination settings for queries.
This class defines which page of results to retrieve and how many items per page. Page indexing starts from 1, and the offset is calculated automatically.
The page number to retrieve (1-based indexing).
The number of items per page.
Calculates the zero-based offset for this pagination settings.