PaginationInfo

📄 Description: PaginationInfo is a data transfer object that encapsulates the details necessary for managing the pagination of data sets, including total item count and current page information, thereby enhancing user experience in navigating large collections of business data.

Properties

Name

Type

Required

Restrictions

Description

number

integer(int32)

false

none

Represents the current page number in the pagination sequence, facilitating efficient data retrieval and navigation within large datasets.

size

integer(int32)

false

none

Number of items per page

totalElements

integer(int64)

false

none

Total number of items available

totalPages

integer(int32)

false

none

Total number of pages available

first

boolean

false

none

Whether this is the first page

last

boolean

false

none

Whether this is the last page

empty

boolean

false

none

Whether the result set is empty

numberOfElements

integer(int32)

false

none

Represents the total count of elements in the current page of results, facilitating effective pagination in data retrieval.