user = $user; $this->description = $description; } /** * Get the notification's delivery channels. * * @return array */ public function via(object $notifiable): array { return ['mail']; } /** * Get the mail representation of the notification. */ public function toMail(object $notifiable): MailMessage { return (new MailMessage) ->subject('Solicitação de Nova Funcionalidade - ' . config('app.name')) ->greeting('Olá, equipe SysSiteCMS!') ->line('Um usuário solicitou uma nova funcionalidade para o sistema.') ->line('**Dados do Usuário:**') ->line('- **Nome:** ' . $this->user->name) ->line('- **E-mail:** ' . $this->user->email) ->line('- **Empresa:** ' . ($this->user->company ?? 'Não informado')) ->line('**Necessidade Descrita:**') ->line($this->description) ->line('Favor entrar em contato com o cliente para orçamento.'); } }