Add logout and image upload functionality

This commit is contained in:
jheaps
2025-10-08 14:30:22 -06:00
parent 0cb8c2ad51
commit 967f563e28
16 changed files with 1013 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
namespace Media.JoshHeaps.Net.Models;
public class UserMedia
{
public long Id { get; set; }
public long UserId { get; set; }
public string FileName { get; set; } = string.Empty;
public string FilePath { get; set; } = string.Empty; // Path to encrypted file on disk
public long FileSize { get; set; }
public string MimeType { get; set; } = string.Empty;
public int? Width { get; set; }
public int? Height { get; set; }
public string? Description { get; set; }
public bool IsEncrypted { get; set; } = true;
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
}