/** * @return \yii\db\ActiveQuery */ public function getJob() { return $this->hasOne(Job::className(), ['id' => 'job_id']); }
/** * @return \yii\db\ActiveQuery */ public function getJobs() { return $this->hasMany(Job::className(), ['idCompany' => 'idUser']); }
/** * @return \yii\db\ActiveQuery */ public function getJobs() { return $this->hasMany(Job::className(), ['idCategory' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getJobs() { return $this->hasMany(Job::className(), ['org_id' => 'id']); }