sysdictitem

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 sysdictitem type in the database.
	Label = "sys_dict_item"
	// 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"
	// FieldMemo holds the string denoting the memo field in the database.
	FieldMemo = "memo"
	// FieldSort holds the string denoting the sort field in the database.
	FieldSort = "sort"
	// 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"
	// FieldLabel holds the string denoting the label field in the database.
	FieldLabel = "label"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "val"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldDictID holds the string denoting the dict_id field in the database.
	FieldDictID = "dict_id"
	// Table holds the table name of the sysdictitem in the database.
	Table = "sys_dict_items"
)

Variables

View Source
var (
	// DefaultIsDel holds the default value on creation for the "is_del" field.
	DefaultIsDel bool
	// 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
	// DefaultSort holds the default value on creation for the "sort" field.
	DefaultSort int32
	// 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
	// LabelValidator is a validator for the "label" field. It is called by the builders before save.
	LabelValidator func(string) error
	// DictIDValidator is a validator for the "dict_id" field. It is called by the builders before save.
	DictIDValidator 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 sysdictitem fields.

Functions

func And

func And(predicates ...predicate.SysDictItem) predicate.SysDictItem

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.SysDictItem

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SysDictItem

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SysDictItem

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SysDictItem

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SysDictItem

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SysDictItem

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SysDictItem

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.SysDictItem

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.SysDictItem

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.SysDictItem

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.SysDictItem

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.SysDictItem

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.SysDictItem

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.SysDictItem

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.SysDictItem

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.SysDictItem

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

func DictID

func DictID(v string) predicate.SysDictItem

DictID applies equality check predicate on the "dict_id" field. It's identical to DictIDEQ.

func DictIDContains

func DictIDContains(v string) predicate.SysDictItem

DictIDContains applies the Contains predicate on the "dict_id" field.

func DictIDContainsFold

func DictIDContainsFold(v string) predicate.SysDictItem

DictIDContainsFold applies the ContainsFold predicate on the "dict_id" field.

func DictIDEQ

func DictIDEQ(v string) predicate.SysDictItem

DictIDEQ applies the EQ predicate on the "dict_id" field.

func DictIDEqualFold

func DictIDEqualFold(v string) predicate.SysDictItem

DictIDEqualFold applies the EqualFold predicate on the "dict_id" field.

func DictIDGT

func DictIDGT(v string) predicate.SysDictItem

DictIDGT applies the GT predicate on the "dict_id" field.

func DictIDGTE

func DictIDGTE(v string) predicate.SysDictItem

DictIDGTE applies the GTE predicate on the "dict_id" field.

func DictIDHasPrefix

func DictIDHasPrefix(v string) predicate.SysDictItem

DictIDHasPrefix applies the HasPrefix predicate on the "dict_id" field.

func DictIDHasSuffix

func DictIDHasSuffix(v string) predicate.SysDictItem

DictIDHasSuffix applies the HasSuffix predicate on the "dict_id" field.

func DictIDIn

func DictIDIn(vs ...string) predicate.SysDictItem

DictIDIn applies the In predicate on the "dict_id" field.

func DictIDLT

func DictIDLT(v string) predicate.SysDictItem

DictIDLT applies the LT predicate on the "dict_id" field.

func DictIDLTE

func DictIDLTE(v string) predicate.SysDictItem

DictIDLTE applies the LTE predicate on the "dict_id" field.

func DictIDNEQ

func DictIDNEQ(v string) predicate.SysDictItem

DictIDNEQ applies the NEQ predicate on the "dict_id" field.

func DictIDNotIn

func DictIDNotIn(vs ...string) predicate.SysDictItem

DictIDNotIn applies the NotIn predicate on the "dict_id" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.SysDictItem

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.SysDictItem

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.SysDictItem

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.SysDictItem

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.SysDictItem

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.SysDictItem

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.SysDictItem

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsDel

func IsDel(v bool) predicate.SysDictItem

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

func IsDelEQ

func IsDelEQ(v bool) predicate.SysDictItem

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

func IsDelNEQ

func IsDelNEQ(v bool) predicate.SysDictItem

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

func LabelContains

func LabelContains(v string) predicate.SysDictItem

LabelContains applies the Contains predicate on the "label" field.

func LabelContainsFold

func LabelContainsFold(v string) predicate.SysDictItem

LabelContainsFold applies the ContainsFold predicate on the "label" field.

func LabelEQ

func LabelEQ(v string) predicate.SysDictItem

LabelEQ applies the EQ predicate on the "label" field.

func LabelEqualFold

func LabelEqualFold(v string) predicate.SysDictItem

LabelEqualFold applies the EqualFold predicate on the "label" field.

func LabelGT

func LabelGT(v string) predicate.SysDictItem

LabelGT applies the GT predicate on the "label" field.

func LabelGTE

func LabelGTE(v string) predicate.SysDictItem

LabelGTE applies the GTE predicate on the "label" field.

func LabelHasPrefix

func LabelHasPrefix(v string) predicate.SysDictItem

LabelHasPrefix applies the HasPrefix predicate on the "label" field.

func LabelHasSuffix

func LabelHasSuffix(v string) predicate.SysDictItem

LabelHasSuffix applies the HasSuffix predicate on the "label" field.

func LabelIn

func LabelIn(vs ...string) predicate.SysDictItem

LabelIn applies the In predicate on the "label" field.

func LabelLT

func LabelLT(v string) predicate.SysDictItem

LabelLT applies the LT predicate on the "label" field.

func LabelLTE

func LabelLTE(v string) predicate.SysDictItem

LabelLTE applies the LTE predicate on the "label" field.

func LabelNEQ

func LabelNEQ(v string) predicate.SysDictItem

LabelNEQ applies the NEQ predicate on the "label" field.

func LabelNotIn

func LabelNotIn(vs ...string) predicate.SysDictItem

LabelNotIn applies the NotIn predicate on the "label" field.

func Memo

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

func MemoContains

func MemoContains(v string) predicate.SysDictItem

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

func MemoContainsFold

func MemoContainsFold(v string) predicate.SysDictItem

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

func MemoEQ

func MemoEQ(v string) predicate.SysDictItem

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

func MemoEqualFold

func MemoEqualFold(v string) predicate.SysDictItem

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

func MemoGT

func MemoGT(v string) predicate.SysDictItem

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

func MemoGTE

func MemoGTE(v string) predicate.SysDictItem

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

func MemoHasPrefix

func MemoHasPrefix(v string) predicate.SysDictItem

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

func MemoHasSuffix

func MemoHasSuffix(v string) predicate.SysDictItem

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

func MemoIn

func MemoIn(vs ...string) predicate.SysDictItem

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

func MemoLT

func MemoLT(v string) predicate.SysDictItem

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

func MemoLTE

func MemoLTE(v string) predicate.SysDictItem

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

func MemoNEQ

func MemoNEQ(v string) predicate.SysDictItem

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

func MemoNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.SysDictItem) predicate.SysDictItem

Or groups predicates with the OR operator between them.

func Sort

func Sort(v int32) predicate.SysDictItem

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

func SortEQ

func SortEQ(v int32) predicate.SysDictItem

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

func SortGT

func SortGT(v int32) predicate.SysDictItem

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

func SortGTE

func SortGTE(v int32) predicate.SysDictItem

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

func SortIn

func SortIn(vs ...int32) predicate.SysDictItem

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

func SortLT

func SortLT(v int32) predicate.SysDictItem

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

func SortLTE

func SortLTE(v int32) predicate.SysDictItem

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

func SortNEQ

func SortNEQ(v int32) predicate.SysDictItem

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

func SortNotIn

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

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

func Status

func Status(v int16) predicate.SysDictItem

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

func StatusEQ

func StatusEQ(v int16) predicate.SysDictItem

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

func StatusGT

func StatusGT(v int16) predicate.SysDictItem

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

func StatusGTE

func StatusGTE(v int16) predicate.SysDictItem

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

func StatusIn

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

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

func StatusLT

func StatusLT(v int16) predicate.SysDictItem

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

func StatusLTE

func StatusLTE(v int16) predicate.SysDictItem

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

func StatusNEQ

func StatusNEQ(v int16) predicate.SysDictItem

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

func StatusNotIn

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

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.SysDictItem

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SysDictItem

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SysDictItem

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SysDictItem

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SysDictItem

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SysDictItem

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SysDictItem

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

func UpdatedAtNotIn

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

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

func Value

func Value(v int) predicate.SysDictItem

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueEQ

func ValueEQ(v int) predicate.SysDictItem

ValueEQ applies the EQ predicate on the "value" field.

func ValueGT

func ValueGT(v int) predicate.SysDictItem

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v int) predicate.SysDictItem

ValueGTE applies the GTE predicate on the "value" field.

func ValueIn

func ValueIn(vs ...int) predicate.SysDictItem

ValueIn applies the In predicate on the "value" field.

func ValueLT

func ValueLT(v int) predicate.SysDictItem

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v int) predicate.SysDictItem

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v int) predicate.SysDictItem

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...int) predicate.SysDictItem

ValueNotIn applies the NotIn predicate on the "value" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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