16 lines
305 B
Go
16 lines
305 B
Go
package bean
|
|
|
|
type Page struct {
|
|
Page int64 `json:"page"`
|
|
Size int64 `json:"size"`
|
|
Total int64 `json:"total"`
|
|
Pages int64 `json:"pages"`
|
|
Data interface{} `json:"data"`
|
|
}
|
|
type PageGen struct {
|
|
SQL string
|
|
Args []interface{}
|
|
CountCols string
|
|
FindCols string
|
|
}
|