<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class SelectDealFinanceQuote extends DealBuilderRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
     */
    public function rules(): array
    {
        return [
            'quote_id' => [
                'required',
                'numeric',
                'exists:deal_finance,id',
            ],
        ];
    }
}
