using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CallCenter.Utility { public class TreeModel { private string _id; /// /// Id /// public string id { set { _id = value; } get { return _id; } } /// /// 父级ID /// public string parentid { get; set; } private string iconCls; /// /// 图标 /// public string IconCls { set { iconCls = value; } get { return iconCls; } } private string _text; /// /// 树节点显示文本 /// public string text { set { _text = value; } get { return _text; } } private List _children; public List children { set { _children = value; } get { return _children; } } } }