Files
minattest/backend/src/MinAttest.Domain/Entities/AuditLog.cs
T
Stein Helge Riise ede31fbb7e Initial import
2025-11-17 08:32:46 +01:00

14 lines
458 B
C#

namespace MinAttest.Domain.Entities;
public class AuditLog
{
public Guid Id { get; set; }
public ActorType ActorType { get; set; }
public Guid? ActorId { get; set; }
public string Action { get; set; } = string.Empty;
public string TargetType { get; set; } = string.Empty;
public Guid TargetId { get; set; }
public DateTimeOffset Timestamp { get; set; } = DateTimeOffset.UtcNow;
public string? Ip { get; set; }
}