type IDNameExtensions struct {
ID int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Extensions map[string]interface{} `json:"extensions,omitempty"`
}
const (
DefaultPageSize = 1000
)
type Pagination struct {
PageSize int `json:"pagesize,omitempty" url:"pagesize,omitempty"`
Page int `json:"page,omitempty" url:"page,omitempty"`
Search string `json:"-" url:"-"`
Search2 string `json:"search,omitempty" url:"search,omitempty"`
}
type UserDepartment struct {
ID int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
IdpID int `json:"idp_id,omitempty"`
Comments string `json:"comments,omitempty"`
Deleted bool `json:"deleted,omitempty"`
}
type UserGroups struct {
ID int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
IdpID int `json:"idp_id,omitempty"`
Comments string `json:"comments,omitempty"`
}