Files
sam-api/app/Http/Requests/TenantSetting/UpdateSettingRequest.php

24 lines
482 B
PHP
Raw Normal View History

<?php
namespace App\Http\Requests\TenantSetting;
use Illuminate\Foundation\Http\FormRequest;
class UpdateSettingRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'group' => 'required|string|max:50',
'key' => 'required|string|max:100',
'value' => 'required',
'description' => 'nullable|string|max:255',
];
}
}