roadObserved->rms_status == 0; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules(): array { return [ 'edarate_shahri_id' => 'required|exists:edarate_shahri,id', 'province_id' => 'required|exists:provinces,id', 'refer_description' => 'required|string', ]; } }