'boolean' ]; public function platformInstance(): BelongsTo { return $this->belongsTo(PlatformInstance::class); } public function platformAccounts(): BelongsToMany { return $this->belongsToMany(PlatformAccount::class, 'account_communities') ->withPivot(['is_active', 'priority']) ->withTimestamps(); } public function getFullNameAttribute(): string { return $this->platformInstance->url . '/c/' . $this->name; } }