/** * @return \yii\db\ActiveQuery */ public function getTransEmployee() { return $this->hasOne(Employees::className(), ['employee_id' => 'trans_employee']); }
/** * @return \yii\db\ActiveQuery */ public function getCExpert() { return $this->hasOne(Employees::className(), ['Employ_id' => 'C_Expert']); }