using System.Collections.Generic; namespace learun.util { /// /// 版 本 EasyCode EC管理后台 /// Copyright (c) 2019-present EC管理有限公司 /// 创建人:tobin /// 日 期:2019.09.10 /// 描 述:树结构数据 /// public class TreeModel { /// /// 节点id /// public string id { get; set; } /// /// 节点显示数据 /// public string text { get; set; } /// /// 节点提示 /// public string title { get; set; } /// /// 节点数值 /// public string value { get; set; } /// /// 显示图标 /// public string icon { get; set; } /// /// 是否显示勾选框 /// public bool showcheck { get; set; } /// /// 是否被勾选0 for unchecked, 1 for partial checked, 2 for checked /// public int checkstate { get; set; } /// /// 是否有子节点 /// public bool hasChildren { get; set; } /// /// 是否展开 /// public bool isexpand { get; set; } /// /// 子节点是否已经加载完成了 /// public bool complete { get; set; } /// /// 子节点列表数据 /// public List ChildNodes { get; set; } /// /// 父级节点ID /// public string parentId { get; set; } /// /// 扩展字段1 /// public string exid1 { get; set; } /// /// 扩展字段2 /// public string exid2 { get; set; } } }