menu_action_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() *menuActionRepoQueryBuilder

Types

type MenuAction struct {
	Id          int32     // 主键
	MenuId      int32     // 菜单栏ID
	Method      string    // 请求方式
	Api         string    // 请求地址
	IsDeleted   int32     // 是否删除 1:是  -1:否
	CreatedAt   time.Time `gorm:"time"` // 创建时间
	CreatedUser string    // 创建人
	UpdatedAt   time.Time `gorm:"time"` // 更新时间
	UpdatedUser string    // 更新人
}

MenuAction 功能权限表

func NewModel

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