Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SysMenu) predicate.SysMenu
- func CreatedAt(v time.Time) predicate.SysMenu
- func CreatedAtEQ(v time.Time) predicate.SysMenu
- func CreatedAtGT(v time.Time) predicate.SysMenu
- func CreatedAtGTE(v time.Time) predicate.SysMenu
- func CreatedAtIn(vs ...time.Time) predicate.SysMenu
- func CreatedAtLT(v time.Time) predicate.SysMenu
- func CreatedAtLTE(v time.Time) predicate.SysMenu
- func CreatedAtNEQ(v time.Time) predicate.SysMenu
- func CreatedAtNotIn(vs ...time.Time) predicate.SysMenu
- func DeletedAt(v time.Time) predicate.SysMenu
- func DeletedAtEQ(v time.Time) predicate.SysMenu
- func DeletedAtGT(v time.Time) predicate.SysMenu
- func DeletedAtGTE(v time.Time) predicate.SysMenu
- func DeletedAtIn(vs ...time.Time) predicate.SysMenu
- func DeletedAtIsNil() predicate.SysMenu
- func DeletedAtLT(v time.Time) predicate.SysMenu
- func DeletedAtLTE(v time.Time) predicate.SysMenu
- func DeletedAtNEQ(v time.Time) predicate.SysMenu
- func DeletedAtNotIn(vs ...time.Time) predicate.SysMenu
- func DeletedAtNotNil() predicate.SysMenu
- func ID(id string) predicate.SysMenu
- func IDEQ(id string) predicate.SysMenu
- func IDGT(id string) predicate.SysMenu
- func IDGTE(id string) predicate.SysMenu
- func IDIn(ids ...string) predicate.SysMenu
- func IDLT(id string) predicate.SysMenu
- func IDLTE(id string) predicate.SysMenu
- func IDNEQ(id string) predicate.SysMenu
- func IDNotIn(ids ...string) predicate.SysMenu
- func Icon(v string) predicate.SysMenu
- func IconContains(v string) predicate.SysMenu
- func IconContainsFold(v string) predicate.SysMenu
- func IconEQ(v string) predicate.SysMenu
- func IconEqualFold(v string) predicate.SysMenu
- func IconGT(v string) predicate.SysMenu
- func IconGTE(v string) predicate.SysMenu
- func IconHasPrefix(v string) predicate.SysMenu
- func IconHasSuffix(v string) predicate.SysMenu
- func IconIn(vs ...string) predicate.SysMenu
- func IconLT(v string) predicate.SysMenu
- func IconLTE(v string) predicate.SysMenu
- func IconNEQ(v string) predicate.SysMenu
- func IconNotIn(vs ...string) predicate.SysMenu
- func IsDel(v bool) predicate.SysMenu
- func IsDelEQ(v bool) predicate.SysMenu
- func IsDelNEQ(v bool) predicate.SysMenu
- func IsShow(v bool) predicate.SysMenu
- func IsShowEQ(v bool) predicate.SysMenu
- func IsShowNEQ(v bool) predicate.SysMenu
- func Memo(v string) predicate.SysMenu
- func MemoContains(v string) predicate.SysMenu
- func MemoContainsFold(v string) predicate.SysMenu
- func MemoEQ(v string) predicate.SysMenu
- func MemoEqualFold(v string) predicate.SysMenu
- func MemoGT(v string) predicate.SysMenu
- func MemoGTE(v string) predicate.SysMenu
- func MemoHasPrefix(v string) predicate.SysMenu
- func MemoHasSuffix(v string) predicate.SysMenu
- func MemoIn(vs ...string) predicate.SysMenu
- func MemoLT(v string) predicate.SysMenu
- func MemoLTE(v string) predicate.SysMenu
- func MemoNEQ(v string) predicate.SysMenu
- func MemoNotIn(vs ...string) predicate.SysMenu
- func Name(v string) predicate.SysMenu
- func NameContains(v string) predicate.SysMenu
- func NameContainsFold(v string) predicate.SysMenu
- func NameEQ(v string) predicate.SysMenu
- func NameEqualFold(v string) predicate.SysMenu
- func NameGT(v string) predicate.SysMenu
- func NameGTE(v string) predicate.SysMenu
- func NameHasPrefix(v string) predicate.SysMenu
- func NameHasSuffix(v string) predicate.SysMenu
- func NameIn(vs ...string) predicate.SysMenu
- func NameLT(v string) predicate.SysMenu
- func NameLTE(v string) predicate.SysMenu
- func NameNEQ(v string) predicate.SysMenu
- func NameNotIn(vs ...string) predicate.SysMenu
- func Not(p predicate.SysMenu) predicate.SysMenu
- func Or(predicates ...predicate.SysMenu) predicate.SysMenu
- func ParentID(v string) predicate.SysMenu
- func ParentIDContains(v string) predicate.SysMenu
- func ParentIDContainsFold(v string) predicate.SysMenu
- func ParentIDEQ(v string) predicate.SysMenu
- func ParentIDEqualFold(v string) predicate.SysMenu
- func ParentIDGT(v string) predicate.SysMenu
- func ParentIDGTE(v string) predicate.SysMenu
- func ParentIDHasPrefix(v string) predicate.SysMenu
- func ParentIDHasSuffix(v string) predicate.SysMenu
- func ParentIDIn(vs ...string) predicate.SysMenu
- func ParentIDIsNil() predicate.SysMenu
- func ParentIDLT(v string) predicate.SysMenu
- func ParentIDLTE(v string) predicate.SysMenu
- func ParentIDNEQ(v string) predicate.SysMenu
- func ParentIDNotIn(vs ...string) predicate.SysMenu
- func ParentIDNotNil() predicate.SysMenu
- func ParentPath(v string) predicate.SysMenu
- func ParentPathContains(v string) predicate.SysMenu
- func ParentPathContainsFold(v string) predicate.SysMenu
- func ParentPathEQ(v string) predicate.SysMenu
- func ParentPathEqualFold(v string) predicate.SysMenu
- func ParentPathGT(v string) predicate.SysMenu
- func ParentPathGTE(v string) predicate.SysMenu
- func ParentPathHasPrefix(v string) predicate.SysMenu
- func ParentPathHasSuffix(v string) predicate.SysMenu
- func ParentPathIn(vs ...string) predicate.SysMenu
- func ParentPathIsNil() predicate.SysMenu
- func ParentPathLT(v string) predicate.SysMenu
- func ParentPathLTE(v string) predicate.SysMenu
- func ParentPathNEQ(v string) predicate.SysMenu
- func ParentPathNotIn(vs ...string) predicate.SysMenu
- func ParentPathNotNil() predicate.SysMenu
- func Router(v string) predicate.SysMenu
- func RouterContains(v string) predicate.SysMenu
- func RouterContainsFold(v string) predicate.SysMenu
- func RouterEQ(v string) predicate.SysMenu
- func RouterEqualFold(v string) predicate.SysMenu
- func RouterGT(v string) predicate.SysMenu
- func RouterGTE(v string) predicate.SysMenu
- func RouterHasPrefix(v string) predicate.SysMenu
- func RouterHasSuffix(v string) predicate.SysMenu
- func RouterIn(vs ...string) predicate.SysMenu
- func RouterLT(v string) predicate.SysMenu
- func RouterLTE(v string) predicate.SysMenu
- func RouterNEQ(v string) predicate.SysMenu
- func RouterNotIn(vs ...string) predicate.SysMenu
- func Sort(v int32) predicate.SysMenu
- func SortEQ(v int32) predicate.SysMenu
- func SortGT(v int32) predicate.SysMenu
- func SortGTE(v int32) predicate.SysMenu
- func SortIn(vs ...int32) predicate.SysMenu
- func SortLT(v int32) predicate.SysMenu
- func SortLTE(v int32) predicate.SysMenu
- func SortNEQ(v int32) predicate.SysMenu
- func SortNotIn(vs ...int32) predicate.SysMenu
- func Status(v int16) predicate.SysMenu
- func StatusEQ(v int16) predicate.SysMenu
- func StatusGT(v int16) predicate.SysMenu
- func StatusGTE(v int16) predicate.SysMenu
- func StatusIn(vs ...int16) predicate.SysMenu
- func StatusLT(v int16) predicate.SysMenu
- func StatusLTE(v int16) predicate.SysMenu
- func StatusNEQ(v int16) predicate.SysMenu
- func StatusNotIn(vs ...int16) predicate.SysMenu
- func UpdatedAt(v time.Time) predicate.SysMenu
- func UpdatedAtEQ(v time.Time) predicate.SysMenu
- func UpdatedAtGT(v time.Time) predicate.SysMenu
- func UpdatedAtGTE(v time.Time) predicate.SysMenu
- func UpdatedAtIn(vs ...time.Time) predicate.SysMenu
- func UpdatedAtLT(v time.Time) predicate.SysMenu
- func UpdatedAtLTE(v time.Time) predicate.SysMenu
- func UpdatedAtNEQ(v time.Time) predicate.SysMenu
- func UpdatedAtNotIn(vs ...time.Time) predicate.SysMenu
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the sysmenu type in the database. Label = "sys_menu" // 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" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // FieldRouter holds the string denoting the router field in the database. FieldRouter = "router" // FieldIsShow holds the string denoting the is_show field in the database. FieldIsShow = "is_show" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "pid" // FieldParentPath holds the string denoting the parent_path field in the database. FieldParentPath = "ppath" // Table holds the table name of the sysmenu in the database. Table = "sys_menus" )
Variables ¶
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 // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus int16 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // IconValidator is a validator for the "icon" field. It is called by the builders before save. IconValidator func(string) error // RouterValidator is a validator for the "router" field. It is called by the builders before save. RouterValidator func(string) error // DefaultIsShow holds the default value on creation for the "is_show" field. DefaultIsShow bool // ParentIDValidator is a validator for the "parent_id" field. It is called by the builders before save. ParentIDValidator func(string) error // ParentPathValidator is a validator for the "parent_path" field. It is called by the builders before save. ParentPathValidator 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 )
var Columns = []string{ FieldID, FieldIsDel, FieldMemo, FieldSort, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldStatus, FieldName, FieldIcon, FieldRouter, FieldIsShow, FieldParentID, FieldParentPath, }
Columns holds all SQL columns for sysmenu fields.
Functions ¶
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 ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
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 ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func IconContains ¶
IconContains applies the Contains predicate on the "icon" field.
func IconContainsFold ¶
IconContainsFold applies the ContainsFold predicate on the "icon" field.
func IconEqualFold ¶
IconEqualFold applies the EqualFold predicate on the "icon" field.
func IconHasPrefix ¶
IconHasPrefix applies the HasPrefix predicate on the "icon" field.
func IconHasSuffix ¶
IconHasSuffix applies the HasSuffix predicate on the "icon" field.
func IsDel ¶
IsDel applies equality check predicate on the "is_del" field. It's identical to IsDelEQ.
func IsShow ¶
IsShow applies equality check predicate on the "is_show" field. It's identical to IsShowEQ.
func MemoContains ¶
MemoContains applies the Contains predicate on the "memo" field.
func MemoContainsFold ¶
MemoContainsFold applies the ContainsFold predicate on the "memo" field.
func MemoEqualFold ¶
MemoEqualFold applies the EqualFold predicate on the "memo" field.
func MemoHasPrefix ¶
MemoHasPrefix applies the HasPrefix predicate on the "memo" field.
func MemoHasSuffix ¶
MemoHasSuffix applies the HasSuffix predicate on the "memo" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func ParentID ¶
ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.
func ParentIDContains ¶
ParentIDContains applies the Contains predicate on the "parent_id" field.
func ParentIDContainsFold ¶
ParentIDContainsFold applies the ContainsFold predicate on the "parent_id" field.
func ParentIDEQ ¶
ParentIDEQ applies the EQ predicate on the "parent_id" field.
func ParentIDEqualFold ¶
ParentIDEqualFold applies the EqualFold predicate on the "parent_id" field.
func ParentIDGT ¶
ParentIDGT applies the GT predicate on the "parent_id" field.
func ParentIDGTE ¶
ParentIDGTE applies the GTE predicate on the "parent_id" field.
func ParentIDHasPrefix ¶
ParentIDHasPrefix applies the HasPrefix predicate on the "parent_id" field.
func ParentIDHasSuffix ¶
ParentIDHasSuffix applies the HasSuffix predicate on the "parent_id" field.
func ParentIDIn ¶
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDIsNil ¶
ParentIDIsNil applies the IsNil predicate on the "parent_id" field.
func ParentIDLT ¶
ParentIDLT applies the LT predicate on the "parent_id" field.
func ParentIDLTE ¶
ParentIDLTE applies the LTE predicate on the "parent_id" field.
func ParentIDNEQ ¶
ParentIDNEQ applies the NEQ predicate on the "parent_id" field.
func ParentIDNotIn ¶
ParentIDNotIn applies the NotIn predicate on the "parent_id" field.
func ParentIDNotNil ¶
ParentIDNotNil applies the NotNil predicate on the "parent_id" field.
func ParentPath ¶
ParentPath applies equality check predicate on the "parent_path" field. It's identical to ParentPathEQ.
func ParentPathContains ¶
ParentPathContains applies the Contains predicate on the "parent_path" field.
func ParentPathContainsFold ¶
ParentPathContainsFold applies the ContainsFold predicate on the "parent_path" field.
func ParentPathEQ ¶
ParentPathEQ applies the EQ predicate on the "parent_path" field.
func ParentPathEqualFold ¶
ParentPathEqualFold applies the EqualFold predicate on the "parent_path" field.
func ParentPathGT ¶
ParentPathGT applies the GT predicate on the "parent_path" field.
func ParentPathGTE ¶
ParentPathGTE applies the GTE predicate on the "parent_path" field.
func ParentPathHasPrefix ¶
ParentPathHasPrefix applies the HasPrefix predicate on the "parent_path" field.
func ParentPathHasSuffix ¶
ParentPathHasSuffix applies the HasSuffix predicate on the "parent_path" field.
func ParentPathIn ¶
ParentPathIn applies the In predicate on the "parent_path" field.
func ParentPathIsNil ¶
ParentPathIsNil applies the IsNil predicate on the "parent_path" field.
func ParentPathLT ¶
ParentPathLT applies the LT predicate on the "parent_path" field.
func ParentPathLTE ¶
ParentPathLTE applies the LTE predicate on the "parent_path" field.
func ParentPathNEQ ¶
ParentPathNEQ applies the NEQ predicate on the "parent_path" field.
func ParentPathNotIn ¶
ParentPathNotIn applies the NotIn predicate on the "parent_path" field.
func ParentPathNotNil ¶
ParentPathNotNil applies the NotNil predicate on the "parent_path" field.
func Router ¶
Router applies equality check predicate on the "router" field. It's identical to RouterEQ.
func RouterContains ¶
RouterContains applies the Contains predicate on the "router" field.
func RouterContainsFold ¶
RouterContainsFold applies the ContainsFold predicate on the "router" field.
func RouterEqualFold ¶
RouterEqualFold applies the EqualFold predicate on the "router" field.
func RouterHasPrefix ¶
RouterHasPrefix applies the HasPrefix predicate on the "router" field.
func RouterHasSuffix ¶
RouterHasSuffix applies the HasSuffix predicate on the "router" field.
func RouterNotIn ¶
RouterNotIn applies the NotIn predicate on the "router" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusNotIn ¶
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 ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.