Files
familytree/API/FamilyTreeAPI/Entities/TreeNode.cs
T
2025-11-09 16:40:29 +11:00

22 lines
601 B
C#

namespace FamilyTreeAPI.Entities;
public class TreeData
{
public string? Sex { get; set; }
public string? Image { get; set; }
}
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; }
}