<?php

namespace App\Mail;

use App\Models\PendingFirm;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class ApproveFirm extends Mailable
{
    use Queueable, SerializesModels;

    public PendingFirm $pendingFirm;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($pendingFirm)
    {
        $this->pendingFirm = $pendingFirm;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        //TODO:: Kayal update this with the new mail
        return $this->view('email.approve_engineer');
    }
}
