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