feat: add Logs

This commit is contained in:
2026-09-20 16:21:15 +07:00
parent 637ca51f47
commit d3c3ecd5e6
62 changed files with 1577 additions and 66 deletions
+13
View File
@@ -0,0 +1,13 @@
namespace mws.backend.dotnet.domain.Audit;
public class LoginLog
{
public Guid Id { get; set; }
public string Username { get; set; } = string.Empty;
public Guid? UserId { get; set; }
public bool Success { get; set; }
public string? FailureReason { get; set; }
public string? IpAddress { get; set; }
public string? UserAgent { get; set; }
public DateTimeOffset CreatedAt { get; set; }
}