%PDF- %PDF-
Direktori : /var/www/html/o91-api/app/Http/Requests/Api/v1/ContactApplications/ |
Current File : /var/www/html/o91-api/app/Http/Requests/Api/v1/ContactApplications/ContactApplicationRequest.php |
<?php namespace App\Http\Requests\Api\v1\ContactApplication; use App\Http\Requests\BaseRequest; class ContactApplicationRequest extends BaseRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'name' => 'required|string|max:255', 'anrede' => 'required|string|max:255', 'vorname' => 'required|string|max:255', 'nachname' => 'required|string|max:255', 'strabe' => 'required|string|max:255', 'hausnummer' => 'required|string|max:255', 'plz' => 'required|string|max:255', 'ort' => 'required|string|max:255', 'bundesland' => 'required|string|max:255', 'unternehmen' => 'required|string|max:255', 'telephon' => 'required|string|max:255', 'mail' => 'required|email|max:255', 'binein' => 'required|string|max:255', 'anzahl' => 'required|string|max:255', 'folgender' => 'required|string|max:255', 'kapital' => 'required|string|max:255', ]; } }