mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-29 03:59:55 +08:00
feat(storage): implement storage management API and enhance storage mode handling
This commit is contained in:
@@ -35,7 +35,9 @@ public class Picture : BaseModel
|
||||
set => ExifInfoJson = value != null ? JsonSerializer.Serialize(value) : null;
|
||||
}
|
||||
|
||||
public StorageType StorageType { get; set; } = StorageType.Local;
|
||||
public int StorageModeId { get; set; }
|
||||
[ForeignKey("StorageModeId")]
|
||||
public StorageMode? StorageMode { get; set; } = null!;
|
||||
|
||||
public ICollection<Tag>? Tags { get; set; }
|
||||
public int? UserId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user