Add all files

This commit is contained in:
root
2025-11-30 11:57:22 +01:00
parent 2ee51cac4f
commit 044271db3d
1476 changed files with 142544 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
namespace Paymenter\Extensions\Others\ComplianceTools\Models;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
class AuditLog extends Model
{
protected $table = 'ext_compliance_audit_logs';
protected $fillable = [
'category',
'event',
'subject_user_id',
'actor_type',
'actor_id',
'ip_address',
'context',
];
protected $casts = [
'context' => 'array',
];
public function subject()
{
return $this->belongsTo(User::class, 'subject_user_id');
}
public function actor()
{
return $this->morphTo();
}
}