<?php

namespace App\Http\Requests\Reports;

use App\Http\Requests\ApiFormRequest;

class SlipPrintRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'school_year' => ['nullable', 'string'],
            'student_name' => ['required', 'string'],
            'date' => ['nullable', 'string'],
            'time_in' => ['nullable', 'string'],
            'grade' => ['nullable', 'string'],
            'reason' => ['nullable', 'string'],
            'admin_name' => ['nullable', 'string'],
            'paper' => ['nullable', 'string'],
            'font_pt' => ['nullable', 'numeric'],
            'line_h' => ['nullable', 'numeric'],
            'rows' => ['nullable', 'integer'],
            'height_mm' => ['nullable', 'numeric'],
            'h' => ['nullable', 'numeric'],
            'fudge_mm' => ['nullable', 'numeric'],
        ];
    }
}
