feat: add Logs
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace mws.backend.dotnet.domain.Audit;
|
||||
|
||||
public class ActionLog
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid ActorUserId { get; set; }
|
||||
public string ActorUsername { get; set; } = string.Empty;
|
||||
public string Action { get; set; } = string.Empty;
|
||||
public string EntityType { get; set; } = string.Empty;
|
||||
public Guid? EntityId { get; set; }
|
||||
public string? EntityName { get; set; }
|
||||
public string? IpAddress { get; set; }
|
||||
public string? UserAgent { get; set; }
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user