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