go-common/app/admin/main/point/model/search.go
2019-04-22 18:49:16 +08:00

17 lines
358 B
Go

package model
// SearchPage struct.
type SearchPage struct {
PN int `json:"num"`
PS int `json:"size"`
Total int `json:"total"`
}
// SearchData search result detail.
type SearchData struct {
Order string `json:"order"`
Sort string `json:"sort"`
Page *SearchPage `json:"page"`
Result []*PointHistory `json:"result"`
}