Files
sam-api/app/Http/Requests/ItemMaster/CustomTabStoreRequest.php

23 lines
439 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Http\Requests\ItemMaster;
use Illuminate\Foundation\Http\FormRequest;
class CustomTabStoreRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'label' => 'required|string|max:255',
'icon' => 'nullable|string|max:100',
'is_default' => 'nullable|boolean',
];
}
}