Add folders
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace Media.JoshHeaps.Net.Models;
|
||||
|
||||
public class Folder
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long UserId { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public long? ParentFolderId { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
}
|
||||
@@ -12,6 +12,7 @@ public class UserMedia
|
||||
public int? Height { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public bool IsEncrypted { get; set; } = true;
|
||||
public long? FolderId { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user