Remotely/Server/Components/Scripts/ScriptTreeNode.cs
2024-10-21 11:53:41 -07:00

15 lines
477 B
C#

using Remotely.Server.Components.TreeView;
using Remotely.Shared.Entities;
namespace Remotely.Server.Components.Scripts;
public class ScriptTreeNode
{
public string Id { get; } = Guid.NewGuid().ToString();
public TreeItemType ItemType { get; set; }
public string Name { get; init; } = string.Empty;
public ScriptTreeNode? ParentNode { get; set; }
public List<ScriptTreeNode> ChildItems { get; } = new();
public SavedScript? Script { get; init; }
}