<?php

declare(strict_types=1);

namespace App\Application\Contact;

use App\Framework\Http\ControllerRequest;
use App\Framework\Validation\Rules\Email;

final readonly class ContactRequest implements ControllerRequest
{
    public function __construct(
        public string $name,
        #[Email]
        public string $email,
        public string $subject,
        public string $message
    ) {
    }
}
