type PaginateRes struct {
Data any `json:"data"`
Page int `json:"page"`
Limit int `json:"limit"`
TotalPage int `json:"total_page"`
TotalItem int `json:"total_item"`
}
type PaginationReq struct {
Page int `query:"page"`
Limit int `query:"limit"`
TotalPage int `query:"total_page" json:"total_page"`
TotalItem int `query:"total_item" json:"totla_item"`
}