<?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',
        ];
    }
}
