Files

21 lines
517 B
C#
Raw Permalink Normal View History

2026-04-30 11:34:41 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamplePre.Models
{
// 定义树节点数据模型
public class TreeListItem
{
// 节点唯一ID主键
public string ID { get; set; }
// 父节点ID根节点的ParentID为0子节点对应父节点的ID
public string ParentID { get; set; }
// 节点显示的文本
public string DisplayText { get; set; }
}
}