belongsTo(User::class); } public function coin() { return $this->hasOne(Coin::class, 'user_id', 'user_id'); } }