/** * @return \yii\db\ActiveQuery */ public function getApplyjobs() { return $this->hasMany(Applyjobs::className(), ['professionid' => 'id']); }