hasOne(MerchantCategory::class, 'merchant_category_id', 'merchant_category_id')->bind(['category_name']); } public function merchantType() { return $this->hasOne(MerchantType::class, 'mer_type_id', 'mer_type_id')->bind(['type_name']); } }