/** * @return \yii\db\ActiveQuery */ public function getRutas() { return $this->hasMany(Ruta::className(), ['emp_rut' => 'emp_rut']); }