Exemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getImportemployees()
 {
     return $this->hasMany(Importemployee::className(), ['id_podraz' => 'podraz_id'])->from(['importemployees' => Importemployee::tableName()]);
 }
Exemplo n.º 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdimportemployee()
 {
     return $this->hasOne(Importemployee::className(), ['importemployee_id' => 'id_importemployee'])->from(['idimportemployee' => Importemployee::tableName()]);
 }