Merge pull request #19221 from civicrm/5.33
[civicrm-core.git] / Civi / Api4 / GroupContact.php
index d5935967a6399505eeba1ce7516b897081273fa5..086fb9b273944e42e338861a95196716d4ec3631 100644 (file)
@@ -24,11 +24,13 @@ namespace Civi\Api4;
  * A contact can either be "Added" "Removed" or "Pending" in a group.
  * CiviCRM only considers them to be "in" a group if their status is "Added".
  *
+ * @bridge group_id contact_id
  * @see \Civi\Api4\Group
- *
+ * @searchable false
  * @package Civi\Api4
  */
-class GroupContact extends Generic\BridgeEntity {
+class GroupContact extends Generic\DAOEntity {
+  use Generic\Traits\EntityBridge;
 
   /**
    * @param bool $checkPermissions