Documentation
¶
Overview ¶
This file is intentionally left empty. All schema definitions are in schema.go This file exists to prevent Go build errors when ent generates code.
PLUGIN: tenant
PLUGIN: ou
PLUGIN: ou
PLUGIN: tenant
PLUGIN: tenant
Index ¶
- type APIPermission
- type APIPermissionMap
- type ApiKey
- type AuditLog
- type Dictionary
- type DictionaryDetail
- type Domain
- type DomainMembership
- type DomainRelation
- type DomainType
- type InvitationToken
- type Media
- type MediaFolder
- type MediaFormat
- type Menu
- type OperationLog
- type Organization
- type OrganizationMember
- type PasswordResetToken
- type Permission
- type Post
- type ResourceDomainBinding
- type Role
- type RoleBinding
- type Session
- type SystemConfig
- type SystemError
- type Tenant
- type TenantUser
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIPermission ¶
APIPermission API权限实体
func (APIPermission) Edges ¶
func (APIPermission) Edges() []ent.Edge
func (APIPermission) Fields ¶
func (APIPermission) Fields() []ent.Field
func (APIPermission) Indexes ¶
func (APIPermission) Indexes() []ent.Index
func (APIPermission) Mixin ¶
func (APIPermission) Mixin() []ent.Mixin
Mixin for APIPermission entity
type APIPermissionMap ¶
APIPermissionMap maps API metadata to permission codes.
func (APIPermissionMap) Fields ¶
func (APIPermissionMap) Fields() []ent.Field
func (APIPermissionMap) Indexes ¶
func (APIPermissionMap) Indexes() []ent.Index
func (APIPermissionMap) Mixin ¶
func (APIPermissionMap) Mixin() []ent.Mixin
type Dictionary ¶
Dictionary holds the schema definition for the Dictionary entity.
type DictionaryDetail ¶
DictionaryDetail holds the schema definition for the DictionaryDetail entity.
func (DictionaryDetail) Edges ¶
func (DictionaryDetail) Edges() []ent.Edge
Edges of the DictionaryDetail.
func (DictionaryDetail) Fields ¶
func (DictionaryDetail) Fields() []ent.Field
Fields of the DictionaryDetail.
func (DictionaryDetail) Mixin ¶
func (DictionaryDetail) Mixin() []ent.Mixin
Mixin of the DictionaryDetail.
type DomainMembership ¶
DomainMembership links a subject (user/service_account) to a domain.
func (DomainMembership) Edges ¶
func (DomainMembership) Edges() []ent.Edge
func (DomainMembership) Fields ¶
func (DomainMembership) Fields() []ent.Field
func (DomainMembership) Indexes ¶
func (DomainMembership) Indexes() []ent.Index
func (DomainMembership) Mixin ¶
func (DomainMembership) Mixin() []ent.Mixin
type DomainRelation ¶
DomainRelation defines hierarchical relationships between domains.
func (DomainRelation) Fields ¶
func (DomainRelation) Fields() []ent.Field
func (DomainRelation) Indexes ¶
func (DomainRelation) Indexes() []ent.Index
func (DomainRelation) Mixin ¶
func (DomainRelation) Mixin() []ent.Mixin
type DomainType ¶
DomainType defines a type of domain (e.g. platform, tenant, workspace).
func (DomainType) Edges ¶
func (DomainType) Edges() []ent.Edge
func (DomainType) Fields ¶
func (DomainType) Fields() []ent.Field
func (DomainType) Indexes ¶
func (DomainType) Indexes() []ent.Index
func (DomainType) Mixin ¶
func (DomainType) Mixin() []ent.Mixin
type InvitationToken ¶
InvitationToken 邀请令牌实体
func (InvitationToken) Edges ¶
func (InvitationToken) Edges() []ent.Edge
Edges of the InvitationToken
func (InvitationToken) Fields ¶
func (InvitationToken) Fields() []ent.Field
Fields of the InvitationToken
func (InvitationToken) Indexes ¶
func (InvitationToken) Indexes() []ent.Index
Indexes of the InvitationToken
func (InvitationToken) Mixin ¶
func (InvitationToken) Mixin() []ent.Mixin
Mixin for InvitationToken entity
type MediaFolder ¶
MediaFolder 媒体目录实体
func (MediaFolder) Edges ¶
func (MediaFolder) Edges() []ent.Edge
func (MediaFolder) Fields ¶
func (MediaFolder) Fields() []ent.Field
func (MediaFolder) Indexes ¶
func (MediaFolder) Indexes() []ent.Index
type MediaFormat ¶
MediaFormat 媒体格式实体
func (MediaFormat) Mixin ¶
func (MediaFormat) Mixin() []ent.Mixin
type OperationLog ¶
OperationLog 操作日志实体
func (OperationLog) Mixin ¶
func (OperationLog) Mixin() []ent.Mixin
type Organization ¶
Organization represents an OU node inside a domain.
func (Organization) Edges ¶
func (Organization) Edges() []ent.Edge
func (Organization) Fields ¶
func (Organization) Fields() []ent.Field
func (Organization) Indexes ¶
func (Organization) Indexes() []ent.Index
func (Organization) Mixin ¶
func (Organization) Mixin() []ent.Mixin
type OrganizationMember ¶
OrganizationMember represents a user assignment in an organization.
func (OrganizationMember) Edges ¶
func (OrganizationMember) Edges() []ent.Edge
func (OrganizationMember) Fields ¶
func (OrganizationMember) Fields() []ent.Field
func (OrganizationMember) Indexes ¶
func (OrganizationMember) Indexes() []ent.Index
func (OrganizationMember) Mixin ¶
func (OrganizationMember) Mixin() []ent.Mixin
type PasswordResetToken ¶
PasswordResetToken stores one-time JWT reset links.
func (PasswordResetToken) Edges ¶
func (PasswordResetToken) Edges() []ent.Edge
func (PasswordResetToken) Fields ¶
func (PasswordResetToken) Fields() []ent.Field
func (PasswordResetToken) Indexes ¶
func (PasswordResetToken) Indexes() []ent.Index
func (PasswordResetToken) Mixin ¶
func (PasswordResetToken) Mixin() []ent.Mixin
type Permission ¶
Permission 权限实体(用于细粒度控制)
func (Permission) Edges ¶
func (Permission) Edges() []ent.Edge
func (Permission) Fields ¶
func (Permission) Fields() []ent.Field
func (Permission) Indexes ¶
func (Permission) Indexes() []ent.Index
func (Permission) Mixin ¶
func (Permission) Mixin() []ent.Mixin
type ResourceDomainBinding ¶
ResourceDomainBinding binds a resource to a domain with an access level.
func (ResourceDomainBinding) Edges ¶
func (ResourceDomainBinding) Edges() []ent.Edge
func (ResourceDomainBinding) Fields ¶
func (ResourceDomainBinding) Fields() []ent.Field
func (ResourceDomainBinding) Indexes ¶
func (ResourceDomainBinding) Indexes() []ent.Index
func (ResourceDomainBinding) Mixin ¶
func (ResourceDomainBinding) Mixin() []ent.Mixin
type RoleBinding ¶
RoleBinding maps subjects to role scopes.
func (RoleBinding) Fields ¶
func (RoleBinding) Fields() []ent.Field
func (RoleBinding) Indexes ¶
func (RoleBinding) Indexes() []ent.Index
func (RoleBinding) Mixin ¶
func (RoleBinding) Mixin() []ent.Mixin
type SystemConfig ¶
SystemConfig 系统配置实体
func (SystemConfig) Fields ¶
func (SystemConfig) Fields() []ent.Field
func (SystemConfig) Indexes ¶
func (SystemConfig) Indexes() []ent.Index
type SystemError ¶
SystemError 系统错误日志实体
func (SystemError) Edges ¶
func (SystemError) Edges() []ent.Edge
func (SystemError) Fields ¶
func (SystemError) Fields() []ent.Field
func (SystemError) Indexes ¶
func (SystemError) Indexes() []ent.Index
func (SystemError) Mixin ¶
func (SystemError) Mixin() []ent.Mixin
type TenantUser ¶
TenantUser represents a user membership in a tenant.
func (TenantUser) Edges ¶
func (TenantUser) Edges() []ent.Edge
func (TenantUser) Fields ¶
func (TenantUser) Fields() []ent.Field
func (TenantUser) Indexes ¶
func (TenantUser) Indexes() []ent.Index
func (TenantUser) Mixin ¶
func (TenantUser) Mixin() []ent.Mixin
Source Files
¶
- api_key.go
- api_permission.go
- api_permission_map.go
- audit_log.go
- dictionary.go
- dictionary_detail.go
- domain.go
- domain_membership.go
- domain_relation.go
- domain_type.go
- ent.go
- invitation_token.go
- media.go
- menu.go
- operation_log.go
- organization.go
- organization_member.go
- password_reset_token.go
- permission.go
- post.go
- resource_domain_binding.go
- role.go
- role_binding.go
- session.go
- system_config.go
- system_error.go
- tenant.go
- tenant_user.go
- user.go