hasMany(Penghuni::class, 'rumah_id', 'id'); } public function penghuni() { return $this->hasOne(Penghuni::class); } }