Add logout and image upload functionality
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user