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