schema

package
v0.0.0-...-393e050 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Campaign

type Campaign struct {
	ent.Schema
}

Campaign holds the schema definition for the Campaign entity.

func (Campaign) Edges

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

Edges of the Campaign.

func (Campaign) Fields

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

Fields of the Cards.

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 Cards.

type TimeMixin

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

func (TimeMixin) Fields

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

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

type UserBalance

type UserBalance struct {
	ent.Schema
}

UserBalance holds the schema definition for the UserBalance entity.

func (UserBalance) Edges

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

Edges of the UserBalance.

func (UserBalance) Fields

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

Fields of the UserBalance.

type UserVoucher

type UserVoucher struct {
	ent.Schema
}

UserVoucher holds the schema definition for the UserVoucher entity.

func (UserVoucher) Edges

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

Edges of the UserVoucher.

func (UserVoucher) Fields

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

Fields of the UserVoucher.

type Voucher

type Voucher struct {
	ent.Schema
}

Voucher holds the schema definition for the Voucher entity.

func (Voucher) Edges

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

Edges of the Voucher.

func (Voucher) Fields

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

Fields of the Voucher.

type VoucherCampaign

type VoucherCampaign struct {
	ent.Schema
}

VoucherCampaign holds the schema definition for the VoucherCampaign entity.

func (VoucherCampaign) Edges

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

Edges of the VoucherCampaign.

func (VoucherCampaign) Fields

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

Fields of the Voucher.

Jump to

Keyboard shortcuts

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