mixin

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoIncrementId

type AutoIncrementId struct {
	mixin.Schema
}

func (AutoIncrementId) Fields

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

func (AutoIncrementId) Indexs

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

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 added in v1.1.10

type CreatedAt struct{ mixin.Schema }

func (CreatedAt) Fields added in v1.1.10

func (CreatedAt) 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 added in v1.1.10

type DeletedAt struct{ mixin.Schema }

func (DeletedAt) Fields added in v1.1.10

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

type Remark added in v1.1.14

type Remark struct {
	mixin.Schema
}

func (Remark) Fields added in v1.1.14

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

type SwitchStatus added in v1.0.1

type SwitchStatus struct{ mixin.Schema }

func (SwitchStatus) Fields added in v1.0.1

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

在PostgreSQL下,还需要为此创建一个Type,否则无法使用。

DROP TYPE IF EXISTS switch_status CASCADE; CREATE TYPE switch_status AS ENUM (

'OFF',
'ON'
);

type Time

type Time struct{ mixin.Schema }

func (Time) Fields

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

type TimeAt added in v1.1.10

type TimeAt struct{ mixin.Schema }

func (TimeAt) Fields added in v1.1.10

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 added in v1.1.10

type UpdatedAt struct{ mixin.Schema }

func (UpdatedAt) Fields added in v1.1.10

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

Jump to

Keyboard shortcuts

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