aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/99designs/gqlgen/codegen/model.go
blob: 5ba50337e27b8885852c5ecee01a639a4cc578d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package codegen

type Model struct {
	*NamedType
	Description string
	Fields      []ModelField
}

type ModelField struct {
	*Type
	GQLName     string
	GoFieldName string
	GoFKName    string
	GoFKType    string
	Description string
}