ildar-shaymukhametov_grandnode-refactorings/Grand.Domain/Catalog/TreeNode.cs
using System.Collections.Generic;

namespace Grand.Domain.Catalog
{
    public interface ITreeNode
    {
        string Id { get; set; }

        string Name { get; set; }

        string ParentCategoryId { get; set; }
    }

    public class TreeNode
    {
        public string text { get; set; }

        public string id { get; set; }

        public List<TreeNode> nodes { get; set; }
    }
}
