<?php

namespace App\Domains\Catalog\Requests\AdminApp;

use Illuminate\Foundation\Http\FormRequest;

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

    /** @return array<string, mixed> */
    public function rules(): array
    {
        return [
            'category_name' => ['required', 'string', 'max:255'],
            'is_featured' => ['required', 'boolean'],
        ];
    }
}
