// Package dto defines service boundary types for the admin RBAC domain. package dto // RouteItem mirrors the vben admin dynamic-route shape (backend access mode). type RouteItem struct { Name string Path string Component string Meta RouteMeta Children []*RouteItem } // RouteMeta is the route metadata consumed by vben. type RouteMeta struct { Title string Icon string Order int Authority []string // role codes HideInMenu bool }