// ================================================================================= // 本文件由 GoFrame CLI 工具生成并维护,请勿编辑。 // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // AdminMenu 是表 admin_menu 的 Go 结构体。 type AdminMenu struct { Id uint64 `json:"id" orm:"id" description:""` // ParentId uint64 `json:"parentId" orm:"parent_id" description:""` // Name string `json:"name" orm:"name" description:""` // Icon string `json:"icon" orm:"icon" description:"menu icon (iconify name)"` // menu icon (iconify name) Type int `json:"type" orm:"type" description:"1 menu,2 api"` // 1 menu,2 api Path string `json:"path" orm:"path" description:""` // Component string `json:"component" orm:"component" description:"vue component path, empty for top-level dir"` // vue component path, empty for top-level dir Permission string `json:"permission" orm:"permission" description:""` // Sort int `json:"sort" orm:"sort" description:""` // Status int `json:"status" orm:"status" description:""` // Hidden bool `json:"hidden" orm:"hidden" description:"0 show,1 hide in menu"` // 0 show,1 hide in menu 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:""` // }