schema

package
v0.0.0-...-96f2668 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dept

type Dept struct {
	ent.Schema
}

Dept holds the schema definition for the Dept entity.

func (Dept) Annotations

func (Dept) Annotations() []schema.Annotation

func (Dept) Edges

func (Dept) Edges() []ent.Edge

Edges of the Dept.

func (Dept) Fields

func (Dept) Fields() []ent.Field

Fields of the Dept.

func (Dept) Indexes

func (Dept) Indexes() []ent.Index

Indexes of the Dept.

func (Dept) Mixin

func (Dept) Mixin() []ent.Mixin

Mixin of the Dept.

type Member

type Member struct {
	ent.Schema
}

Member holds the schema definition for the Member entity.

func (Member) Annotations

func (Member) Annotations() []schema.Annotation

func (Member) Edges

func (Member) Edges() []ent.Edge

Edges of the Member.

func (Member) Fields

func (Member) Fields() []ent.Field

Fields of the Member.

func (Member) Indexes

func (Member) Indexes() []ent.Index

Indexes of the Member.

func (Member) Mixin

func (Member) Mixin() []ent.Mixin

Mixin of the Member.

func (Member) Policy

func (Member) Policy() ent.Policy

Policy defines the privacy policy of the Member.

type Menu struct {
	ent.Schema
}

Menu holds the schema definition for the Menu entity.

func (Menu) Annotations() []schema.Annotation
func (Menu) Edges() []ent.Edge

Edges of the Menu.

func (Menu) Fields() []ent.Field

Fields of the Menu.

func (Menu) Indexes() []ent.Index

Indexes of the Menu.

func (Menu) Mixin() []ent.Mixin

Mixin of the Menu.

type MixinTop

type MixinTop struct{ mixin.Schema }

func (MixinTop) Fields

func (MixinTop) Fields() []ent.Field

type Post

type Post struct {
	ent.Schema
}

Post holds the schema definition for the Post entity.

func (Post) Annotations

func (Post) Annotations() []schema.Annotation

func (Post) Edges

func (Post) Edges() []ent.Edge

Edges of the Post.

func (Post) Fields

func (Post) Fields() []ent.Field

Fields of the Post.

func (Post) Indexes

func (Post) Indexes() []ent.Index

Indexes of the Post.

func (Post) Mixin

func (Post) Mixin() []ent.Mixin

Mixin of the Post.

type Role

type Role struct {
	ent.Schema
}

Role holds the schema definition for the Role entity.

func (Role) Annotations

func (Role) Annotations() []schema.Annotation

func (Role) Edges

func (Role) Edges() []ent.Edge

Edges of the Role.

func (Role) Fields

func (Role) Fields() []ent.Field

Fields of the Role.

func (Role) Indexes

func (Role) Indexes() []ent.Index

Indexes of the Role.

func (Role) Mixin

func (Role) Mixin() []ent.Mixin

Mixin of the Role.

type Tenant

type Tenant struct {
	ent.Schema
}

Tenant holds the schema definition for the Tenant entity.

func (Tenant) Annotations

func (Tenant) Annotations() []schema.Annotation

func (Tenant) Fields

func (Tenant) Fields() []ent.Field

Fields of the Tenant.

func (Tenant) Mixin

func (Tenant) Mixin() []ent.Mixin

Mixin of the Tenant schema.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

func (User) Annotations() []schema.Annotation

func (User) Edges

func (User) Edges() []ent.Edge

Edges of the User.

func (User) Fields

func (User) Fields() []ent.Field

Fields of the User.

func (User) Indexes

func (User) Indexes() []ent.Index

Indexes of the User.

func (User) Mixin

func (User) Mixin() []ent.Mixin

Mixin of the User.

func (User) Policy

func (User) Policy() ent.Policy

Policy defines the privacy policy of the User.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL