namespace SIGCM.Domain.Entities;

public class AuditLog
{
  public int Id { get; set; }
  public int UserId { get; set; }
  public required string Action { get; set; }
  public int? EntityId { get; set; }
  public string? EntityType { get; set; }
  public string? Details { get; set; }
  public DateTime CreatedAt { get; set; }
  // Propiedad auxiliar para el Join
  public string? Username { get; set; }
}