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