<?php

namespace App\Http\Requests\Admin\Jackpot;

use App\Http\Requests\ApiFormRequest;

final class AdminJackpotPoolAdjustRequest extends ApiFormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    /** @return array<string, mixed> */
    public function rules(): array
    {
        return [
            'amount_delta' => ['required', 'integer', 'not_in:0'],
            'reason' => ['required', 'string', 'min:3', 'max:500'],
        ];
    }
}
