mixin

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditMixin

type AuditMixin struct {
	mixin.Schema
}

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

func (AuditMixin) Fields

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

Fields of the AuditMixin.

func (AuditMixin) Hooks

func (AuditMixin) Hooks() []ent.Hook

AuditMixin 的钩子

type AutoIncrementId

type AutoIncrementId struct{ mixin.Schema }

func (AutoIncrementId) Fields

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

func (AutoIncrementId) Indexes

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

Indexes of the AutoIncrementId.

type CreateBy

type CreateBy struct{ mixin.Schema }

func (CreateBy) Fields

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

type CreateTime

type CreateTime struct{ mixin.Schema }

func (CreateTime) Fields

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

type CreatedAt

type CreatedAt struct{ mixin.Schema }

func (CreatedAt) Fields

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

type CreatedBy

type CreatedBy struct{ mixin.Schema }

func (CreatedBy) Fields

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

type DeleteBy

type DeleteBy struct{ mixin.Schema }

func (DeleteBy) Fields

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

type DeleteTime

type DeleteTime struct{ mixin.Schema }

func (DeleteTime) Fields

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

type DeletedAt

type DeletedAt struct{ mixin.Schema }

func (DeletedAt) Fields

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

type DeletedBy

type DeletedBy struct{ mixin.Schema }

func (DeletedBy) Fields

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

type Time

type Time struct{ mixin.Schema }

func (Time) Fields

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

type TimeAt

type TimeAt struct{ mixin.Schema }

func (TimeAt) Fields

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

type UpdateBy

type UpdateBy struct{ mixin.Schema }

func (UpdateBy) Fields

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

type UpdateTime

type UpdateTime struct{ mixin.Schema }

func (UpdateTime) Fields

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

type UpdatedAt

type UpdatedAt struct{ mixin.Schema }

func (UpdatedAt) Fields

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

type UpdatedBy

type UpdatedBy struct{ mixin.Schema }

func (UpdatedBy) Fields

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

type UuidId

type UuidId struct{ mixin.Schema }

func (UuidId) Fields

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

func (UuidId) Indexes

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

Indexes of the UuidId.

Jump to

Keyboard shortcuts

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