feat add tenant users
This commit is contained in:
@@ -2,14 +2,14 @@ package requests
|
||||
|
||||
import "github.com/samber/lo"
|
||||
|
||||
type Pager struct {
|
||||
Pagination `json:",inline"`
|
||||
type Pager[T any] struct {
|
||||
Pagination ` json:",inline"`
|
||||
Total int64 `json:"total"`
|
||||
Items any `json:"items"`
|
||||
Items []T `json:"items"`
|
||||
}
|
||||
|
||||
type Pagination struct {
|
||||
Page int64 `json:"page" form:"page" query:"page"`
|
||||
Page int64 `json:"page" form:"page" query:"page"`
|
||||
Limit int64 `json:"limit" form:"limit" query:"limit"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user