<?php

namespace Modules\Contact\app\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class StoreContactRequest extends FormRequest
{
    /**
     * Get the validation rules that apply to the request.
     */
    public function rules(): array
    {
        return [
        'country' => 'required', 'string',
        'zip_code' => 'required', 'string',
        'city' => 'required', 'string',
        'house_number' => 'required', 'string',
        'street' => 'required', 'string',
        'phone_fixe' => 'required', 'string',
        'phone_office' => 'required', 'string',
        'email_support' => 'required', 'string',
        'email_billing' => 'required', 'string',
            
        ];
    }

    /**
     * Determine if the user is authorized to make this request.
     */
    public function authorize(): bool
    {
        return true;
    }
}
