dbfdg hasOne('App\Models\ProductServiceCategory', 'id', 'category_id'); } public function vender() { return $this->hasOne('App\Models\Vender', 'id', 'vender_id'); } public function bankAccount() { return $this->hasOne('App\Models\BankAccount', 'id', 'account_id'); } public function chartAccount() { return $this->hasOne('App\Models\ChartOfAccount', 'id', 'chart_account_id'); } }