%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/geotechnics/api/app/Http/Requests/Api/v1/Projects/
Upload File :
Create Path :
Current File : /var/www/html/geotechnics/api/app/Http/Requests/Api/v1/Projects/CreateProjectRequest.php

<?php

namespace App\Http\Requests\Api\v1\Projects;

use App\Http\Requests\BaseRequest;

class CreateProjectRequest 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',
            'location'                 => 'required',
            'person_responsible'       => 'required',
            'person_responsible_phone' => 'required',
            'person_responsible_email' => 'required|email',
            'due_date'                 => 'required',
            'services'                 => 'required',
            'notes'                    => 'nullable',
        ];
    }
}

Zerion Mini Shell 1.0