新增 web 后台菜单、新增角色表
This commit is contained in:
19
internal/model/entity/role_menus.go
Normal file
19
internal/model/entity/role_menus.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RoleMenus is the golang structure for table role_menus.
|
||||
type RoleMenus struct {
|
||||
Id int64 `json:"id" orm:"id" description:"ID"` // ID
|
||||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"` // 角色ID
|
||||
MenuId int64 `json:"menuId" orm:"menu_id" description:"菜单ID"` // 菜单ID
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user