You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.5 KiB
C#
72 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OpenAuth.App.SysDatabaseLink.Response
|
|
{
|
|
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<TreeModel> ChildNodes { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 父级节点ID
|
|
public string parentId { get; set; }
|
|
}
|
|
}
|