Files
CRM/app/ExportResources/Relationship/Relationship.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

26 lines
524 B
PHP

<?php
namespace App\ExportResources\Relationship;
use App\ExportResources\ExportResource;
class Relationship extends ExportResource
{
protected $columns = [
'uuid',
'created_at',
'updated_at',
];
public function data(): ?array
{
return [
'properties' => [
'type' => $this->relationshipType->name,
'contact_is' => $this->contactIs->uuid,
'of_contact' => $this->ofContact->uuid,
],
];
}
}