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