namespace audit_logs.Models;


public class AuditRecordDto
{
    public string Id { get; set; }
    public string EntityType { get; set; }
    public string RecordId { get; set; }
    public string UserId { get; set; }
    public string ActionType { get; set; }
    public DateTime ActionTime { get; set; }
    public List<ChangeDto> Changes { get; set; }
    public string Reason { get; set; }
    public string UserIpAddress { get; set; }
}

public class ChangeDto
{
    public string Field { get; set; }
    public object OldValue { get; set; }
    public object NewValue { get; set; }
    public string ValueType { get; set; }
}