schema

package
v1.0.0-beta.89 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreditEntry

type CreditEntry struct {
	ent.Schema
}

func (CreditEntry) Edges

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

Edges of the CreditGrant define the relations to other entities.

func (CreditEntry) Fields

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

Fields of the CreditGrant.

func (CreditEntry) Indexes

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

Indexes of the CreditGrant.

func (CreditEntry) Mixin

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

Mixin of the CreditGrant.

type Feature

type Feature struct {
	ent.Schema
}

func (Feature) Edges

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

Edges of the Feature define the relations to other entities.

func (Feature) Fields

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

Fields of the Feature.

func (Feature) Indexes

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

Indexes of the Feature.

func (Feature) Mixin

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

Mixin of the Feature.

type IDMixin

type IDMixin struct {
	mixin.Schema
}

IDMixin adds the ID field to the schema

func (IDMixin) Fields

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

Fields of the IDMixin.

type Ledger

type Ledger struct {
	ent.Schema
}

func (Ledger) Fields

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

Fields of the Ledger.

func (Ledger) Indexes

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

Indexes of the Ledger.

func (Ledger) Mixin

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

Mixin of the Ledger.

type TimeMixin

type TimeMixin struct {
	mixin.Schema
}

TimeMixin adds the created_at and updated_at fields to the schema

func (TimeMixin) Fields

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

Fields of the TimeMixin.

Jump to

Keyboard shortcuts

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