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