point-backend/app/Http/Requests/Quotation/EditQuotationRequest.php
2024-04-03 12:10:28 +03:00

21 lines
466 B
PHP

<?php
namespace App\Http\Requests\Quotation;
use Illuminate\Foundation\Http\FormRequest;
class EditQuotationRequest extends FormRequest
{
public function rules(): array
{
return [
'name' => 'nullable|string',
'phone' => 'nullable|string',
'email' => 'nullable|email',
'message' => 'nullable|string',
'attachment' => 'nullable|file|mimes:pdf,doc,docx,txt|max:2048',
];
}
}