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