github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/domain/systemauth/entity.go (about) 1 package systemauth 2 3 import "database/sql" 4 5 // Entity missing godoc 6 type Entity struct { 7 ID string `db:"id"` 8 TenantID sql.NullString `db:"tenant_id"` 9 AppID sql.NullString `db:"app_id"` 10 RuntimeID sql.NullString `db:"runtime_id"` 11 IntegrationSystemID sql.NullString `db:"integration_system_id"` 12 Value sql.NullString `db:"value"` 13 } 14 15 // Collection missing godoc 16 type Collection []Entity 17 18 // Len missing godoc 19 func (c Collection) Len() int { 20 return len(c) 21 }