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