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