schema

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dish

type Dish struct {
	ent.Schema
}

Dish holds the schema definition for the Dish entity.

func (Dish) Annotations

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

Annotations of the Dish.

func (Dish) Edges

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

Edges of the Dish.

func (Dish) Fields

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

Fields of the Dish.

type DishAlias

type DishAlias struct {
	ent.Schema
}

DishAlias holds the schema definition for the DishAlias entity.

func (DishAlias) Annotations

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

Annotations of the DishAlias.

func (DishAlias) Edges

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

Edges of the DishAlias.

func (DishAlias) Fields

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

Fields of the DishAlias.

type Image

type Image struct {
	ent.Schema
}

Image holds the schema definition for the Image entity.

func (Image) Annotations

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

Annotations of the Image.

func (Image) Edges

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

Edges of the Image.

func (Image) Fields

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

Fields of the Image.

type Location

type Location struct {
	ent.Schema
}

Location holds the schema definition for the Location entity.

func (Location) Annotations

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

Annotations of the Location.

func (Location) Edges

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

Edges of the Location.

func (Location) Fields

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

Fields of the Location.

type Occurrence

type Occurrence struct {
	ent.Schema
}

Occurrence holds the schema definition for the Occurrence entity.

func (Occurrence) Annotations

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

Annotations of the Occurrence.

func (Occurrence) Edges

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

Edges of the Occurrence.

func (Occurrence) Fields

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

Fields of the Occurrence.

type Review

type Review struct {
	ent.Schema
}

Review holds the schema definition for the Review entity.

func (Review) Annotations

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

Annotations of the Review.

func (Review) Edges

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

Edges of the Review.

func (Review) Fields

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

Fields of the Review.

type Tag

type Tag struct {
	ent.Schema
}

Tag holds the schema definition for the Tag entity.

func (Tag) Annotations

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

Annotations of the Tag.

func (Tag) Edges

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

Edges of the Tag.

func (Tag) Fields

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

Fields of the Tag.

type TagPriority

type TagPriority string
const (
	Hide   TagPriority = "HIDE"
	Low    TagPriority = "LOW"
	Medium TagPriority = "MEDIUM"
	High   TagPriority = "HIGH"
)

func (TagPriority) Values

func (TagPriority) Values() (kinds []string)

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

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

Annotations of the User.

func (User) Edges

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

Edges of the User.

func (User) Fields

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

Fields of the User.

Jump to

Keyboard shortcuts

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