using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Face.Domain.ViewModels { public class VM_TreeNode { /// /// id /// public int id { get; set; } /// /// 文本 /// public string text { get; set; } /// /// 图标 /// public string icon { get; set; } /// /// 是否有子节点 /// public bool children { get; set; } /// /// 类型 /// public string type { get; set; } /// /// 状态 /// public string state { get; set; } } public class VM_TreeView { /// /// 文本 /// public string text { get; set; } public string icon { get; set; } public int id { get; set; } /// /// 文本 /// public List nodes { get; set; } public VM_TreeView() { nodes = new List(); } } public class VM_TreeNodes { /// /// 文本 /// public string text { get; set; } } }