<?php

namespace App\Http\Requests\Finance;

use Illuminate\Foundation\Http\FormRequest;

class FinanceNotificationLogRequest extends FormRequest
{
    public function authorize(): bool { return true; }
    public function rules(): array
    {
        return [
            'status' => ['nullable','string','max:40'],
            'notification_type' => ['nullable','string','max:80'],
            'parent_id' => ['nullable','integer'],
            'date_from' => ['nullable','date'],
            'date_to' => ['nullable','date'],
        ];
    }
}
