Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace SharepointToolbox.Web.Core.Models;
|
||||
|
||||
public class StorageNode
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Url { get; set; } = string.Empty;
|
||||
public string SiteTitle { get; set; } = string.Empty;
|
||||
public string Library { get; set; } = string.Empty;
|
||||
public long TotalSizeBytes { get; set; }
|
||||
public long FileStreamSizeBytes { get; set; }
|
||||
public long VersionSizeBytes => Math.Max(0L, TotalSizeBytes - FileStreamSizeBytes);
|
||||
public long TotalFileCount { get; set; }
|
||||
public DateTime? LastModified { get; set; }
|
||||
public int IndentLevel { get; set; }
|
||||
public StorageNodeKind Kind { get; set; } = StorageNodeKind.Library;
|
||||
public List<StorageNode> Children { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user