C#生成树形结构泛型类
2021-06-27 01:08
标签:实体类 ict mod parent his col sage todo list C#生成树形结构泛型类,使用方法: ToTree 实体类必须实现接口: 实体类实例: C#生成树形结构泛型类 标签:实体类 ict mod parent his col sage todo list 原文地址:https://www.cnblogs.com/ANPY/p/10089819.htmlpublic class ToTree
public interface IToTreeModel
{
int Id { get; set; }
int ParentId { get; set; }
List
public class ShowMessageUpdatesViewModel: IToTreeModel
{
public int Id { get; set; }
public int ParentId { get; set; }
public string Name { get; set; }
public List