sys_menu.go 2.3 KB

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