github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/domain/apptemplate/entity.go (about) 1 package apptemplate 2 3 import ( 4 "database/sql" 5 ) 6 7 // Entity missing godoc 8 type Entity struct { 9 ID string `db:"id"` 10 Name string `db:"name"` 11 Description sql.NullString `db:"description"` 12 ApplicationNamespace sql.NullString `db:"application_namespace"` 13 ApplicationInputJSON string `db:"application_input"` 14 PlaceholdersJSON sql.NullString `db:"placeholders"` 15 AccessLevel string `db:"access_level"` 16 } 17 18 // EntityCollection missing godoc 19 type EntityCollection []Entity 20 21 // Len missing godoc 22 func (a EntityCollection) Len() int { 23 return len(a) 24 }