freescout-customers-groups/Entities/Mailbox.php

18 lines
398 B
PHP

<?php
/*
SPDX-License-Identifier: AGPL-3.0-only
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
*/
namespace Modules\MMFCustomersGroups\Entities;
use App\Mailbox as BaseMailbox;
class Mailbox extends BaseMailbox {
/**
* Get the customers groups linked to this Mailbox.
*/
public function groups() {
return $this->hasMany(CustomersGroup::class);
}
}