<?php

namespace App\Http\Requests\Cooperatives;

use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Str;

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


    /**
     * @return string[]
     */
    public function rules(): array
    {
        return [
            'companyName' => ['required', 'string', 'max:500'],
            'companyPosition' => ['required', 'string', 'max:500'],
            'companySite' => ['nullable', 'string', 'max:500'],
            'companyNumber' => ['required', 'string', 'max:500'],
            'yourName' => ['required', 'string', 'max:500'],
            'yourWork' => ['required', 'string', 'max:500'],
            'yourMessage' => ['required', 'string', 'max:500'],
        ];
    }
}
