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