belongsTo(ModuleDatacenter::class, 'datacenter_id'); } public function host() { return $this->belongsTo(ModuleHost::class, 'host_id'); } }