schema

package
v0.0.0-...-9bd63dd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 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 AccountUser

type AccountUser struct {
	ent.Schema
}

AccountUser holds the schema definition for the AccountUser entity.

func (AccountUser) Annotations

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

func (AccountUser) Edges

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

Edges of the AccountUser.

func (AccountUser) Fields

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

Fields of the AccountUser.

type AuditMixin

type AuditMixin struct {
	mixin.Schema
}

AuditMixin 实现了 ent.Mixin, 用于 schema 包内通用的审计日志功能。

func (AuditMixin) Fields

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

Fields of the AuditMixin.

type TimeMixin

type TimeMixin struct {
	mixin.Schema
}

func (TimeMixin) Fields

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

Jump to

Keyboard shortcuts

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