/** * @return \yii\db\ActiveQuery */ public function getZonas2() { return $this->hasMany(Zona::className(), ['via_t_id' => 'id']); }