/** * Company-to-Region relation (head company) */ public function getRegion() { return $this->hasOne(Oblasti::className(), ['id' => 'id_obl']); }