Documentation ¶
Overview ¶
Package schema contains the ent schema definitions for the tenant API.
Index ¶
Constants ¶
View Source
const ( // ApplicationPrefix is the prefix for all application IDs owned by tenant-api ApplicationPrefix string = "tnnt" // TenantPrefix is the prefix for tenants TenantPrefix string = ApplicationPrefix + "ten" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tenant ¶
Tenant holds the schema definition for the Tenant entity.
func (Tenant) Annotations ¶
func (Tenant) Annotations() []schema.Annotation
Annotations for the Tenant
Click to show internal directories.
Click to hide internal directories.