<?php

namespace App\Api\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Rule;

class ReallocatedRequest extends FormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'location_id' => ['required'],
            'lead_id' => ['required'],
            'location_name' => ['nullable'],
            'preffered_location_id' => ['nullable'],
            'preffered_location_name' => ['nullable'],
            'lead_category'=>['required'],
            'budget'=>['required'],
            'project_type' => ['required'],
            'preferred_project'=>['required'],
            'profession' => ['required'],
            'investment_purpose' => ['required'],
            'residential_status' => ['required'],
            'job' => ['nullable'],


        ];
    }
}