新增 web 后台菜单、新增角色表

This commit is contained in:
2025-06-03 13:33:35 +08:00
parent fdc9cc3463
commit bcd274c750
13 changed files with 544 additions and 29 deletions

View File

@ -0,0 +1,21 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// RoleMenus is the golang structure of table role_menus for DAO operations like Where/Data.
type RoleMenus struct {
g.Meta `orm:"table:role_menus, do:true"`
Id interface{} // ID
RoleId interface{} // 角色ID
MenuId interface{} // 菜单ID
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
}