<?php

namespace App\Mail;

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

class UserEditVerifyMail extends Mailable
{
    use Queueable, SerializesModels;

    public $verifyUrl;
    public $user;

    public function __construct($verifyUrl, $user)
    {
        $this->verifyUrl = $verifyUrl;
        $this->user = $user;
    }

    public function build()
    {
        return $this
            ->subject('【So-Manager】ユーザー情報変更のご確認')
            ->view('emails.user_edit_verify');
    }
}
