You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cls/pkg/util/page/pagination.go

14 lines
412 B
Go

package page
type Page struct {
TotalElements int64 `json:"totalElements"`
TotalPages int `json:"totalPages"`
PageNumber int `json:"number" form:"page"`
PageSize int `json:"size" form:"size"`
Content any `json:"content"`
Desc []string `json:"-"`
Asc []string `json:"-"`
Omit []string `json:"omit"`
Cols []string `json:"-"`
}