<?php

namespace App\Http\Requests\Api\EmployeeWeekoffRule;

use Illuminate\Foundation\Http\FormRequest;

class StoreRequest extends FormRequest
{
    public function authorize()
    {
        return true;
    }

    public function rules()
    {
        return [
            'employee_id' => 'required|string',
            'weekoff_rule_id' => 'required|string',
            'effective_from' => 'required|date',
            'notes' => 'nullable|string|max:500',
        ];
    }
}

