namespace FamilyTreeAPI.Entities;

public class TreeNode<T>
{
    public string? Label { get; set; }
    public T? Data { get; set; }
    public List<TreeNode<T>>? Children { get; set; }
    public string? Icon { get; set; }
    public bool? Checked { get; set; }
    public bool? Leaf { get; set; }
    public bool? Expanded { get; set; }
    public string? Type { get; set; }

    public string StyleClass { get; set; }
    public string? Key { get; set; }
    public bool? Loading { get; set; }
}