go-common/app/admin/main/member/model/pagination.go

26 lines
444 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
// Page is.
type Page struct {
Num int `json:"num"`
Size int `json:"size"`
Total int `json:"total"`
}
// CommonPagination is.
type CommonPagination struct {
Page Page `json:"page"`
}
// MemberPagination is.
type MemberPagination struct {
Members interface{} `json:"members"`
*CommonPagination
}
// FaceRecordPagination is.
type FaceRecordPagination struct {
Records interface{} `json:"records"`
*CommonPagination
}