schema

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillProduct added in v0.3.4

type BillProduct struct {
	ent.Schema
}

BillProduct holds the schema definition for the BillProduct entity.

func (BillProduct) Annotations added in v0.3.4

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

Annotations returns BillProduct annotations.

func (BillProduct) Fields added in v0.3.4

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

Fields of the BillProduct.

type Category

type Category struct {
	ent.Schema
}

Category holds the schema definition for the Category entity.

func (Category) Fields

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

Fields returns category fields.

func (Category) Mixin

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

Mixin returns category mixed-in schema.

type Friendship

type Friendship struct {
	ent.Schema
}

Friendship holds the edge schema definition of the Friendship relationship.

func (Friendship) Edges

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

Edges of the Friendship.

func (Friendship) Fields

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

Fields of the Friendship.

type Group

type Group struct {
	ent.Schema
}

Group holds the schema definition for the Group entity.

func (Group) Edges

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

Edges of the Group.

func (Group) Fields

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

Fields of the Group.

type Pet

type Pet struct {
	ent.Schema
}

Pet holds the schema definition for the Pet entity.

func (Pet) Fields

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

Fields of the Pet.

type Todo

type Todo struct {
	ent.Schema
}

Todo defines the todo type schema.

func (Todo) Fields

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

Fields returns todo fields.

func (Todo) Mixin

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

Mixin returns todo mixed-in schema.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

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

Edges of the User.

func (User) Fields

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

Fields of the User.

type VerySecret

type VerySecret struct {
	ent.Schema
}

VerySecret defines the todo type schema.

func (VerySecret) Fields

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

Fields returns very secret fields.

func (VerySecret) Mixin

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

Mixin returns todo mixed-in schema.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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