hasMany(Platform::class, 'paas_id', 'id'); } public function workers() { return $this->hasMany(PaasWorker::class, 'paas_id', 'id'); } }