dbfdg hasOne('App\Models\BankAccount', 'id', 'from_account'); } public function toBankAccount() { return $this->hasOne('App\Models\BankAccount', 'id', 'to_account'); } }