sysmenuactionresource

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the sysmenuactionresource type in the database.
	Label = "sys_menu_action_resource"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldIsDel holds the string denoting the is_del field in the database.
	FieldIsDel = "is_del"
	// FieldSort holds the string denoting the sort field in the database.
	FieldSort = "sort"
	// FieldMemo holds the string denoting the memo field in the database.
	FieldMemo = "memo"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "crtd_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "uptd_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "dltd_at"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldMethod holds the string denoting the method field in the database.
	FieldMethod = "method"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldActionID holds the string denoting the action_id field in the database.
	FieldActionID = "action_id"
	// Table holds the table name of the sysmenuactionresource in the database.
	Table = "sys_menu_action_resources"
)

Variables

View Source
var (
	// DefaultIsDel holds the default value on creation for the "is_del" field.
	DefaultIsDel bool
	// DefaultSort holds the default value on creation for the "sort" field.
	DefaultSort int32
	// DefaultMemo holds the default value on creation for the "memo" field.
	DefaultMemo string
	// MemoValidator is a validator for the "memo" field. It is called by the builders before save.
	MemoValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus int16
	// MethodValidator is a validator for the "method" field. It is called by the builders before save.
	MethodValidator func(string) error
	// PathValidator is a validator for the "path" field. It is called by the builders before save.
	PathValidator func(string) error
	// ActionIDValidator is a validator for the "action_id" field. It is called by the builders before save.
	ActionIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for sysmenuactionresource fields.

Functions

func ActionID

ActionID applies equality check predicate on the "action_id" field. It's identical to ActionIDEQ.

func ActionIDContains

func ActionIDContains(v string) predicate.SysMenuActionResource

ActionIDContains applies the Contains predicate on the "action_id" field.

func ActionIDContainsFold

func ActionIDContainsFold(v string) predicate.SysMenuActionResource

ActionIDContainsFold applies the ContainsFold predicate on the "action_id" field.

func ActionIDEQ

ActionIDEQ applies the EQ predicate on the "action_id" field.

func ActionIDEqualFold

func ActionIDEqualFold(v string) predicate.SysMenuActionResource

ActionIDEqualFold applies the EqualFold predicate on the "action_id" field.

func ActionIDGT

ActionIDGT applies the GT predicate on the "action_id" field.

func ActionIDGTE

func ActionIDGTE(v string) predicate.SysMenuActionResource

ActionIDGTE applies the GTE predicate on the "action_id" field.

func ActionIDHasPrefix

func ActionIDHasPrefix(v string) predicate.SysMenuActionResource

ActionIDHasPrefix applies the HasPrefix predicate on the "action_id" field.

func ActionIDHasSuffix

func ActionIDHasSuffix(v string) predicate.SysMenuActionResource

ActionIDHasSuffix applies the HasSuffix predicate on the "action_id" field.

func ActionIDIn

func ActionIDIn(vs ...string) predicate.SysMenuActionResource

ActionIDIn applies the In predicate on the "action_id" field.

func ActionIDLT

ActionIDLT applies the LT predicate on the "action_id" field.

func ActionIDLTE

func ActionIDLTE(v string) predicate.SysMenuActionResource

ActionIDLTE applies the LTE predicate on the "action_id" field.

func ActionIDNEQ

func ActionIDNEQ(v string) predicate.SysMenuActionResource

ActionIDNEQ applies the NEQ predicate on the "action_id" field.

func ActionIDNotIn

func ActionIDNotIn(vs ...string) predicate.SysMenuActionResource

ActionIDNotIn applies the NotIn predicate on the "action_id" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SysMenuActionResource

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.SysMenuActionResource

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SysMenuActionResource

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SysMenuActionResource

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.SysMenuActionResource

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.SysMenuActionResource

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.SysMenuActionResource

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.SysMenuActionResource

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.SysMenuActionResource

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.SysMenuActionResource

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.SysMenuActionResource

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.SysMenuActionResource

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.SysMenuActionResource

IDNotIn applies the NotIn predicate on the ID field.

func IsDel

IsDel applies equality check predicate on the "is_del" field. It's identical to IsDelEQ.

func IsDelEQ

IsDelEQ applies the EQ predicate on the "is_del" field.

func IsDelNEQ

IsDelNEQ applies the NEQ predicate on the "is_del" field.

func Memo

Memo applies equality check predicate on the "memo" field. It's identical to MemoEQ.

func MemoContains

func MemoContains(v string) predicate.SysMenuActionResource

MemoContains applies the Contains predicate on the "memo" field.

func MemoContainsFold

func MemoContainsFold(v string) predicate.SysMenuActionResource

MemoContainsFold applies the ContainsFold predicate on the "memo" field.

func MemoEQ

MemoEQ applies the EQ predicate on the "memo" field.

func MemoEqualFold

func MemoEqualFold(v string) predicate.SysMenuActionResource

MemoEqualFold applies the EqualFold predicate on the "memo" field.

func MemoGT

MemoGT applies the GT predicate on the "memo" field.

func MemoGTE

MemoGTE applies the GTE predicate on the "memo" field.

func MemoHasPrefix

func MemoHasPrefix(v string) predicate.SysMenuActionResource

MemoHasPrefix applies the HasPrefix predicate on the "memo" field.

func MemoHasSuffix

func MemoHasSuffix(v string) predicate.SysMenuActionResource

MemoHasSuffix applies the HasSuffix predicate on the "memo" field.

func MemoIn

MemoIn applies the In predicate on the "memo" field.

func MemoLT

MemoLT applies the LT predicate on the "memo" field.

func MemoLTE

MemoLTE applies the LTE predicate on the "memo" field.

func MemoNEQ

MemoNEQ applies the NEQ predicate on the "memo" field.

func MemoNotIn

func MemoNotIn(vs ...string) predicate.SysMenuActionResource

MemoNotIn applies the NotIn predicate on the "memo" field.

func Method

Method applies equality check predicate on the "method" field. It's identical to MethodEQ.

func MethodContains

func MethodContains(v string) predicate.SysMenuActionResource

MethodContains applies the Contains predicate on the "method" field.

func MethodContainsFold

func MethodContainsFold(v string) predicate.SysMenuActionResource

MethodContainsFold applies the ContainsFold predicate on the "method" field.

func MethodEQ

MethodEQ applies the EQ predicate on the "method" field.

func MethodEqualFold

func MethodEqualFold(v string) predicate.SysMenuActionResource

MethodEqualFold applies the EqualFold predicate on the "method" field.

func MethodGT

MethodGT applies the GT predicate on the "method" field.

func MethodGTE

MethodGTE applies the GTE predicate on the "method" field.

func MethodHasPrefix

func MethodHasPrefix(v string) predicate.SysMenuActionResource

MethodHasPrefix applies the HasPrefix predicate on the "method" field.

func MethodHasSuffix

func MethodHasSuffix(v string) predicate.SysMenuActionResource

MethodHasSuffix applies the HasSuffix predicate on the "method" field.

func MethodIn

func MethodIn(vs ...string) predicate.SysMenuActionResource

MethodIn applies the In predicate on the "method" field.

func MethodLT

MethodLT applies the LT predicate on the "method" field.

func MethodLTE

MethodLTE applies the LTE predicate on the "method" field.

func MethodNEQ

MethodNEQ applies the NEQ predicate on the "method" field.

func MethodNotIn

func MethodNotIn(vs ...string) predicate.SysMenuActionResource

MethodNotIn applies the NotIn predicate on the "method" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Path

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.SysMenuActionResource

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.SysMenuActionResource

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.SysMenuActionResource

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

PathGT applies the GT predicate on the "path" field.

func PathGTE

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.SysMenuActionResource

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.SysMenuActionResource

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

PathIn applies the In predicate on the "path" field.

func PathLT

PathLT applies the LT predicate on the "path" field.

func PathLTE

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.SysMenuActionResource

PathNotIn applies the NotIn predicate on the "path" field.

func Sort

Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.

func SortEQ

SortEQ applies the EQ predicate on the "sort" field.

func SortGT

SortGT applies the GT predicate on the "sort" field.

func SortGTE

SortGTE applies the GTE predicate on the "sort" field.

func SortIn

SortIn applies the In predicate on the "sort" field.

func SortLT

SortLT applies the LT predicate on the "sort" field.

func SortLTE

SortLTE applies the LTE predicate on the "sort" field.

func SortNEQ

SortNEQ applies the NEQ predicate on the "sort" field.

func SortNotIn

func SortNotIn(vs ...int32) predicate.SysMenuActionResource

SortNotIn applies the NotIn predicate on the "sort" field.

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int16) predicate.SysMenuActionResource

StatusIn applies the In predicate on the "status" field.

func StatusLT

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int16) predicate.SysMenuActionResource

StatusNotIn applies the NotIn predicate on the "status" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SysMenuActionResource

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.SysMenuActionResource

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SysMenuActionResource

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SysMenuActionResource

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.SysMenuActionResource

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

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