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