admin_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() *adminMenuQueryBuilder

Types

type AdminMenu

type AdminMenu struct {
	Id          int64     // 主键
	AdminId     int64     // 管理员ID
	MenuId      int64     // 菜单栏ID
	CreatedAt   time.Time `gorm:"type:time;default:'1000-01-01 00:00:00'"` // 创建时间
	CreatedUser string    // 创建人
}

AdminMenu 管理员菜单栏表

func NewModel

func NewModel() *AdminMenu

func (*AdminMenu) Create

func (t *AdminMenu) 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