12345678910111213141516171819202122 |
- using System.Collections.Generic;
- namespace ProjectExporter
- {
- // Represents a single asset (file or folder) that can be exported.
- public class AssetModel
- {
- public string Path { get; }
- public string Name { get; }
- public bool IsSelected { get; set; }
- public List<AssetModel> Children { get; }
- public AssetModel(string path, string name)
- {
- Path = path;
- Name = name;
- IsSelected = true; // Default to selected
- Children = new List<AssetModel>();
- }
- }
- }
|