PageAdmDto

data class PageAdmDto(var number: Int, var propertySize: Int, var numberOfElements: Int, var totalPages: Int, var totalElements: Long)

Object for paging in result lists.

Parameters

number

Number of the current page. Starts from 1 for the first page.

propertySize

Size of the page. Can be changed with the pageSize param.

numberOfElements

Number of elements in the current page.

totalPages

Number of total available pages in relation to the current page size.

totalElements

Total number of available elements.

Constructors

Link copied to clipboard
constructor(number: Int, propertySize: Int, numberOfElements: Int, totalPages: Int, totalElements: Long)

Properties

Link copied to clipboard
@get:Min(value = 1)
var number: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard