schema

package
v0.0.0-...-984c388 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditableMixin

type AuditableMixin struct {
	// We embed the `mixin.Schema` to avoid
	// implementing the rest of the methods.
	mixin.Schema
}

AuditableMixin implements the ent.Mixin for sharing auditable (CDC) fields with package schemas.

func (AuditableMixin) Fields

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

type Card

type Card struct {
	ent.Schema
}

Card holds the schema definition for the Card entity.

func (Card) Edges

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

Edges of the Card.

func (Card) Fields

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

Fields of the Card.

func (Card) Mixin

func (c Card) Mixin() []ent.Mixin

type Contact

type Contact struct {
	ent.Schema
}

Contact holds the schema definition for the Contact entity.

func (Contact) Edges

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

Edges of the Contact.

func (Contact) Fields

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

Fields of the Contact.

func (Contact) Mixin

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

type FinancialAccount

type FinancialAccount struct {
	ent.Schema
}

FinancialAccount holds the schema definition for the FinancialAccount entity.

func (FinancialAccount) Edges

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

Edges of the FinancialAccount.

func (FinancialAccount) Fields

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

Fields of the FinancialAccount.

func (FinancialAccount) Mixin

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

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.

func (User) Mixin

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

Jump to

Keyboard shortcuts

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