<?php

namespace App\Mail;

use App\Models\PropertyLead;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class PropertyLeadClientMail extends Mailable
{
    use SerializesModels;

    public function __construct(public PropertyLead $lead) {}

    public function build()
    {
        return $this->subject('Hemos recibido tu solicitud - Confinca')
                    ->view('emails.lead-client');
    }
}