<?php

namespace App\Api\V1\Requests;

use Config;
use Dingo\Api\Http\FormRequest;

class LeaveApprovalRequest extends FormRequest
{
    public function rules()
    {
        return [
            'proposalno' => 'nullable',
            'empcode' => 'nullable',
            'tahun' => 'nullable',
            'approved' => 'nullable',
            'statusrejected' => 'nullable',
        ];
    }

    public function authorize()
    {
        return true;
    }
}
