You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package cms_api_struct
|
|
|
|
|
|
|
|
type RequestPagination struct {
|
|
|
|
PageNumber int `form:"page_number" binding:"required"`
|
|
|
|
ShowNumber int `form:"show_number" binding:"required"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type RequestPaginationBody struct {
|
|
|
|
PageNumber int `json:"pageNumber" binding:"required"`
|
|
|
|
ShowNumber int `json:"showNumber" binding:"required"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResponsePagination struct {
|
|
|
|
CurrentPage int `json:"current_number" binding:"required"`
|
|
|
|
ShowNumber int `json:"show_number" binding:"required"`
|
|
|
|
}
|