ListToTreeUtils.cs 347 B

123456789101112131415
  1. namespace JiaZhiQuan.Common.Utils {
  2. public class ListToTreeUtils {
  3. public class BaseNote<T> where T : BaseNote<T> {
  4. private string path;
  5. private NoteTypeEnum noteType = NoteTypeEnum.DEFAULT;
  6. }
  7. public enum NoteTypeEnum {
  8. ROOT, LEAF, ERROR, HAS_CHILD, DEFAULT
  9. }
  10. }
  11. }