<?php

namespace App\Core\Audit\Models;

use CodeIgniter\Model;

class AuditLogModel extends Model
{
    protected $table = 'core_audit_logs';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useTimestamps = false;
    protected $allowedFields = [
        'user_id',
        'action',
        'entity_type',
        'entity_id',
        'description',
        'ip_address',
        'user_agent',
        'created_at',
    ];
}
