admin_menu_repo

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryBuilder

func NewQueryBuilder() *adminMenuRepoQueryBuilder

Types

type AdminMenu

type AdminMenu struct {
	Id          int32     // 主键
	AdminId     int32     // 管理员ID
	MenuId      int32     // 菜单栏ID
	CreatedAt   time.Time `gorm:"time"` // 创建时间
	CreatedUser string    // 创建人
}

AdminMenu 管理员菜单栏表

func NewModel

func NewModel() *AdminMenu

func (*AdminMenu) Create

func (t *AdminMenu) Create(db *gorm.DB) (id int32, err error)

Jump to

Keyboard shortcuts

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