| 123456789101112131415161718192021222324252627282930313233343536 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
- // ==========================================================================
- package internal
- import (
- "github.com/gogf/gf/os/gtime"
- )
- // SysMenu is the golang structure for table sys_menu.
- type SysMenu struct {
- Id int `orm:"id,primary" json:"id"` // 菜单ID
- MenuName string `orm:"menu_name" json:"menuName"` // 菜单名称
- ParentId int `orm:"parent_id" json:"parentId"` // 父菜单ID
- Path string `orm:"path" json:"path"` // 路由地址
- Component string `orm:"component" json:"component"` // 组件路径
- Query string `orm:"query" json:"query"` // 路由参数
- IsFrame int `orm:"is_frame" json:"isFrame"` // 是否为外链(10是20否)
- IsCache int `orm:"is_cache" json:"isCache"` // 是否缓存(10缓存20不缓存)
- MenuType string `orm:"menu_type" json:"menuType"` // 菜单类型(M目录C菜单 F按钮)
- Visible string `orm:"visible" json:"visible"` // 菜单状态(10显示20隐藏)
- Status string `orm:"status" json:"status"` // 菜单状态(10正常20停用)
- Perms string `orm:"perms" json:"perms"` // 权限标识
- Icon string `orm:"icon" json:"icon"` // 菜单图标
- PlatformId int `orm:"platform_id" json:"platformId"` // 所属平台
- Sort int `orm:"sort" json:"sort"` // 显示顺序
- Remark string `orm:"remark" json:"remark"` // 备注
- CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
- CreatedName string `orm:"created_name" json:"createdName"` // 创建人
- CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
- UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
- UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
- UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
- DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
- }
|