/** * @return \yii\db\ActiveQuery */ public function getApplicantCollege() { return $this->hasOne(College::className(), ['college_plan_id' => 'applicant_college_id']); }