'boolean', 'play_count' => 'integer', ]; protected $guarded = ['id']; protected $hidden = ['id', 'user_id', 'created_at', 'updated_at', 'last_played_at']; public function user(): BelongsTo { return $this->belongsTo(User::class); } public function song(): BelongsTo { return $this->belongsTo(Song::class); } }