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