14 lines
458 B
C#
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; }
|
|
}
|