// Package dto — RBAC management inputs/outputs. package dto type PageQuery struct { Page int Size int Keyword string } type AdminItem struct { Id uint64 Username string Nickname string Status int RoleIds []uint64 RoleNames []string CreatedAt string } type AdminCreateInput struct { Username string Password string Nickname string RoleIds []uint64 } type AdminUpdateInput struct { Id uint64 Nickname string Status int RoleIds []uint64 } type RoleItem struct { Id uint64 Code string Name string Status int MenuIds []uint64 CreatedAt string } type RoleCreateInput struct { Code string Name string Status int MenuIds []uint64 } type RoleUpdateInput struct { Id uint64 Name string Status int MenuIds []uint64 } // MenuNode is the full menu tree node used by menu management. type MenuNode struct { Id uint64 ParentId uint64 Name string Icon string Type int Path string Component string Permission string Sort int Status int Hidden bool Children []*MenuNode } type MenuCreateInput struct { ParentId uint64 Name string Icon string Type int Path string Component string Permission string Sort int Status int Hidden bool } type MenuUpdateInput struct { Id uint64 ParentId uint64 Name string Icon string Type int Path string Component string Permission string Sort int Status int Hidden bool }