<?php

namespace App\Http\Requests\ItemMaster;

use Illuminate\Foundation\Http\FormRequest;

class CustomTabUpdateRequest extends FormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'label' => 'sometimes|string|max:255',
            'icon' => 'sometimes|nullable|string|max:100',
            'is_default' => 'sometimes|nullable|boolean',
        ];
    }
}
