From fe7bc29cd2d480edabab854b06b719168be5e645 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 3 Jun 2020 22:42:48 +0200 Subject: [PATCH] add gdpr annotation --- Models/AuditMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/AuditMapper.php b/Models/AuditMapper.php index 98a3664..7439999 100644 --- a/Models/AuditMapper.php +++ b/Models/AuditMapper.php @@ -37,7 +37,7 @@ final class AuditMapper extends DataMapperAbstract 'auditor_audit_id' => ['name' => 'auditor_audit_id', 'type' => 'int', 'internal' => 'id'], 'auditor_audit_created_by' => ['name' => 'auditor_audit_created_by', 'type' => 'int', 'internal' => 'createdBy', 'readonly' => true], 'auditor_audit_created_at' => ['name' => 'auditor_audit_created_at', 'type' => 'DateTime', 'internal' => 'createdAt', 'readonly' => true], - 'auditor_audit_ip' => ['name' => 'auditor_audit_ip', 'type' => 'int', 'internal' => 'ip'], + 'auditor_audit_ip' => ['name' => 'auditor_audit_ip', 'type' => 'int', 'internal' => 'ip', 'annotations' => ['gdpr' => true]], 'auditor_audit_module' => ['name' => 'auditor_audit_module', 'type' => 'string', 'internal' => 'module'], 'auditor_audit_ref' => ['name' => 'auditor_audit_ref', 'type' => 'string', 'internal' => 'ref'], 'auditor_audit_type' => ['name' => 'auditor_audit_type', 'type' => 'int', 'internal' => 'type'],