belongsTo(Tournament::class); } public function user() { return $this->belongsTo(User::class); } protected $casts = [ 'user_id' => 'string', ]; protected $with = [ 'user', ]; }