using System.Collections; using System.Collections.Generic; namespace GDZZ.Core.Service; /// /// 菜单树(列表形式) /// public class MenuOutput : MenuInput, ITreeNode { /// /// 菜单Id /// public long Id { get; set; } /// /// 子节点 /// public List Children { get; set; } = new List(); public long GetId() { return Id; } public long GetPid() { return Pid; } public void SetChildren(IList children) { Children = (List)children; } }