<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

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

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'contract_cvs_class'=>'max:2',
            'contract_qr_id'=>'required',
            'user_id'=>'required|integer',
            'user_categoryid'=>'required|integer',
            'reserve_id'=>'required|integer',
            'park_id'=>'required|integer',
            'price_parkplaceid'=>'required|integer',


        ];
    }
}