Add project files.

This commit is contained in:
jheaps
2025-10-07 14:24:23 -06:00
parent 3b4d2709f5
commit 4350e4ce4a
93 changed files with 77112 additions and 0 deletions
@@ -0,0 +1,10 @@
namespace Media.JoshHeaps.Net.Models;
public class UserLoginInfo
{
public long Id { get; set; }
public string Email { get; set; } = string.Empty;
public string Username { get; set; } = string.Empty;
public bool IsActive { get; set; }
public bool EmailVerified { get; set; }
}
+22
View File
@@ -0,0 +1,22 @@
namespace Media.JoshHeaps.Net.Models;
public class UserProfile
{
public long UserId { get; set; }
public string? Bio { get; set; }
public string? AvatarUrl { get; set; }
public string? Location { get; set; }
public string? Website { get; set; }
public DateTime UpdatedAt { get; set; }
}
public class UserDashboard
{
public long UserId { get; set; }
public string Username { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public bool EmailVerified { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime? LastLogin { get; set; }
public UserProfile Profile { get; set; } = new();
}
+13
View File
@@ -0,0 +1,13 @@
namespace Media.JoshHeaps.Net.Models;
public class UserRow
{
public long Id { get; set; }
public string Email { get; set; } = string.Empty;
public string Username { get; set; } = string.Empty;
public string PasswordHash { get; set; } = string.Empty;
public bool IsActive { get; set; }
public bool EmailVerified { get; set; }
public int FailedAttempts { get; set; }
public DateTime? LockedUntil { get; set; }
}