<?php
-
/*
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC. All rights reserved. |
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
namespace Civi\Api4;
/**
* @ui_join_filters account_relationship
*
* @searchable bridge
+ * @since 5.37
* @package Civi\Api4
*/
class EntityFinancialAccount extends Generic\DAOEntity {
public static function getInfo() {
$info = parent::getInfo();
$info['bridge'] = [
- 'entity_id' => [],
- 'financial_account_id' => [],
+ 'entity_id' => ['to' => 'financial_account_id'],
+ 'financial_account_id' => ['to' => 'entity_id'],
];
return $info;
}