/** * @return \yii\db\ActiveQuery */ public function getFloors() { return $this->hasOne(Floors::className(), ['id' => 'floors_id']); }