<?php

namespace app\Api\Http\Requests\DailyActivity;

use Illuminate\Foundation\Http\FormRequest;

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

    public function rules(): array
    {
        return [

            'lead_id' => [
                'nullable',
            ],
            'create_task_id' => [
                'required',
            ],
            'lead_category' => [
                'nullable',
            ],
            'project' => [
                'nullable',
            ],
            'lead_stage' => [
                'nullable',
            ],
            'latitude' => [
                'nullable',
            ],
            'longitude' => [
                'nullable',
            ],
            'place_address' => [
                'nullable',
            ],
            'remarks' => [
                'nullable',
            ],
            'image' => [
                'nullable',
            ],
            'city' => [
                'nullable'
            ],
            'location_id' =>[
                'nullable'
            ],
            'residential_status' =>[
                'nullable'
            ],
            'source' =>[
                'nullable'
            ],
            'mobile' =>[
                'nullable'
            ],
            'name' =>[
                'nullable'
            ],
            'phone_code' =>[
                'nullable'
            ],
            'country' =>[
                'nullable'
            ],
            
        ];
    }


}