manage_menu

package
v0.0.0-...-035d22f Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = sqlx.ErrNotFound

Functions

This section is empty.

Types

type ManageMenu

type ManageMenu struct {
	Id              uint64         `db:"id"`
	CreateTime      time.Time      `db:"create_time"`
	UpdateTime      time.Time      `db:"update_time"`
	CreateBy        sql.NullInt64  `db:"create_by"`
	UpdateBy        sql.NullInt64  `db:"update_by"`
	Status          string         `db:"status"`
	ParentId        int64          `db:"parent_id"`
	MenuType        string         `db:"menu_type"`
	MenuName        string         `db:"menu_name"`
	HideInMenu      int64          `db:"hide_in_menu"`
	ActiveMenu      sql.NullString `db:"active_menu"`
	Order           int64          `db:"order"`
	RouteName       string         `db:"route_name"`
	RoutePath       string         `db:"route_path"`
	Component       string         `db:"component"`
	Icon            string         `db:"icon"`
	IconType        string         `db:"icon_type"`
	I18nKey         string         `db:"i18n_key"`
	KeepAlive       int64          `db:"keep_alive"`
	Href            sql.NullString `db:"href"`
	MultiTab        sql.NullInt64  `db:"multi_tab"`
	FixedIndexInTab sql.NullInt64  `db:"fixed_index_in_tab"`
	Query           sql.NullString `db:"query"`
	Permissions     sql.NullString `db:"permissions"`
	Constant        int64          `db:"constant"`
	ButtonCode      sql.NullString `db:"button_code"`
}

type ManageMenuModel

type ManageMenuModel interface {
	// contains filtered or unexported methods
}

ManageMenuModel is an interface to be customized, add more methods here, and implement the added methods in customManageMenuModel.

func NewManageMenuModel

func NewManageMenuModel(conn sqlx.SqlConn, op ...opts.Opt[modelx.ModelOpts]) ManageMenuModel

NewManageMenuModel returns a model for the database table.

Jump to

Keyboard shortcuts

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