<?php

namespace App\Http\Requests\DrinageWater\WaterDues;

use Illuminate\Foundation\Http\FormRequest;

class UpdateRequest 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 [
            'applicant_full_name' =>  'required',
            'applicant_full_address' => 'required',
            'mobile_no'=>'required',
            'email_id'=>'required',
            'adhar_no'=>'required',
            'total_connection'=> 'required',
            'connection_no'=>'required',
            'owner_name'=>'required',
            'owner_full_add'=>'required',
            'landmark'=>'required',
            'ward_area'=>'required',
            'zone'=>'required',
            'connection_size'=>'required',
            // 'upload_water_bill'=>'required'
        ];
    }
}
