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