This repository has been archived on 2022-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-30 08:35:45 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
type Server struct {
|
2020-06-26 07:47:33 +00:00
|
|
|
tableName struct{} `pg:",alias:server"`
|
|
|
|
|
2020-06-26 18:30:25 +00:00
|
|
|
ID string `pg:",pk" json:"id" gqlgen:"id"`
|
|
|
|
Groups []*Group
|
2020-05-30 08:35:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ServerFilter struct {
|
|
|
|
ID []string
|
|
|
|
Limit int `urlstruct:",nowhere"`
|
|
|
|
Offset int `urlstruct:",nowhere"`
|
|
|
|
Order []string `urlstruct:",nowhere"`
|
|
|
|
}
|