Add Compoships for multile key relationships, first implemented with Service::class
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Awobaz\Compoships\Compoships;
|
||||
use Carbon\Carbon;
|
||||
use Clarkeash\Doorman\Facades\Doorman;
|
||||
use Clarkeash\Doorman\Models\Invite;
|
||||
@@ -10,7 +11,7 @@ use Illuminate\Support\Arr;
|
||||
use Leenooks\Traits\ScopeActive;
|
||||
|
||||
use App\Interfaces\IDs;
|
||||
use App\Traits\{NextKey,PushNew};
|
||||
use App\Traits\PushNew;
|
||||
|
||||
/**
|
||||
* Class Invoice
|
||||
@@ -33,7 +34,7 @@ use App\Traits\{NextKey,PushNew};
|
||||
*/
|
||||
class Invoice extends Model implements IDs
|
||||
{
|
||||
use PushNew,ScopeActive;
|
||||
use Compoships,PushNew,ScopeActive;
|
||||
|
||||
protected $casts = [
|
||||
'reminders'=>'json',
|
||||
|
Reference in New Issue
Block a user