Files
arenax-server/internal/model/entity/menus.go

27 lines
2.1 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// Menus is the golang structure for table menus.
type Menus struct {
Id int64 `json:"id" orm:"id" description:"菜单ID"` // 菜单ID
ParentId int64 `json:"parentId" orm:"parent_id" description:"父级菜单ID"` // 父级菜单ID
Name string `json:"name" orm:"name" description:"菜单名称"` // 菜单名称
Path string `json:"path" orm:"path" description:"前端路由路径"` // 前端路由路径
Component string `json:"component" orm:"component" description:"前端组件路径"` // 前端组件路径
Type int `json:"type" orm:"type" description:"类型1=目录父级菜单2=菜单(功能页面)"` // 类型1=目录父级菜单2=菜单(功能页面)
Icon string `json:"icon" orm:"icon" description:"图标"` // 图标
Sort int `json:"sort" orm:"sort" description:"排序"` // 排序
Hidden int `json:"hidden" orm:"hidden" description:"是否隐藏0=显示1=隐藏"` // 是否隐藏0=显示1=隐藏
Status int `json:"status" orm:"status" description:"状态1=启用2=禁用"` // 状态1=启用2=禁用
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:"软删除时间戳"` // 软删除时间戳
}