ums_menu

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryBuilder

func NewQueryBuilder() *umsMenuQueryBuilder

Types

type UmsMenu

type UmsMenu struct {
	Id         int64     //
	ParentId   int64     // 父级ID
	CreateTime time.Time `gorm:"autoCreateTime"` // 创建时间
	Title      string    // 菜单名称
	Level      int32     // 菜单级数
	Sort       int32     // 菜单排序
	Name       string    // 前端名称
	Icon       string    // 前端图标
	Hidden     int32     // 前端隐藏
}

UmsMenu 后台菜单表

func NewModel

func NewModel() *UmsMenu

func (*UmsMenu) Create

func (t *UmsMenu) Create(db *gorm.DB) (id int64, err error)

Jump to

Keyboard shortcuts

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