<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class MissingSongRequest extends Mailable
{
    use Queueable;
    use SerializesModels;

    public function __construct(
        public string $songName,
        public ?string $ccliId,
        public mixed $service,
    ) {}

    public function build()
    {
        return $this->subject("Song-Anfrage: {$this->songName} (CCLI: {$this->ccliId})")
            ->view('emails.missing-song-request');
    }
}
