ini
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace AuthHex.Models;
|
||||
public class AuthEventLog
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
|
||||
public Guid? UserId { get; set; }
|
||||
|
||||
public string? EventType { get; set; } // LOGIN_SUCCESS, LOGIN_FAILED, LOCKED
|
||||
public string? IPAddress { get; set; }
|
||||
public string? UserAgent { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
Reference in New Issue
Block a user