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