<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class CardMonthlyMaintenanceDeductionRequest extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     */
    public function authorize(): bool
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
     */
    public function rules(): array
    {
        return [
			//'card_id' => 'required',
			'batch_id' => 'required|string',
          //  'maintenance_fee' => 'numeric|min:0',
          //  'exchange_rate' => 'numeric|min:0',
           // 'deducted_amount' => 'numeric|min:0',
			'deducted_from' => 'string',
			'deduction_month' => 'required|string',
			'deduction_year' => 'required|string',
			'remarks' => 'string',
			'_id' => 'string',
			'created_ip' => 'string',
			'created_by' => 'string',
			'updated_by' => 'string',
			'created_agent' => 'string',
			'updated_agent' => 'string',
			'updated_ip' => 'string',
        ];
    }
}
