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