belongsTo(User::class, 'users_id'); } public function products() { return $this->belongsTo(Product::class, 'products_id'); } public function companies() { return $this->belongsTo(Company::class, 'investment_platform'); } public function monthlyAIF() { return $this->hasOne(MonthlyUpdateAlternativeInvestmentFund::class,'custom_id','custom_id'); } public function monthlyFRE() { return $this->hasOne(MonthlyUpdateFractionalRealEstate::class,'custom_id','custom_id'); } }