#region ========================================================================= USING =====================================================================================
using Lumina.Domain.SharedKernel.Common.Enums.FileSystem;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Application.Common.Infrastructure.Models.DTO.FileSystem;
///
/// Generic file system node.
///
[DebuggerDisplay("Path: {Path}")]
public class FileSystemTreeNodeDto
{
///
/// Gets or sets the full path of the file or directory.
///
public string Path { get; set; } = null!;
///
/// Gets or sets the name of the file or directory.
///
public string Name { get; set; } = null!;
///
/// Gets or sets the type of the item, indicating whether it is a file, directory, or drive.
///
public FileSystemItemType ItemType { get; set; }
///
/// Gets or sets the list of child nodes.
///
public List Children { get; set; } = [];
}