/** * @return \yii\db\ActiveQuery */ public function getIdJuiz() { return $this->hasOne(Juiz::className(), ['id' => 'id_juiz']); }