<?php

namespace App\Http\Requests\Support;

use App\Http\Requests\ApiFormRequest;

class ContactSendRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'name' => ['required', 'string', 'min:3', 'max:255'],
            'email' => ['required', 'email', 'max:255'],
            'subject' => ['required', 'string', 'min:3', 'max:255'],
            'message' => ['required', 'string', 'min:10'],
        ];
    }
}
