Files
Sio-Back/app/Http/Requests/Operador/RespuestasOperadorRequest.php
SIO Admin de656b70a2 feat: Actualizacion sistema SIO Backend
- Nuevo modulo de historial de cambios (ServicioHistorial)
- Observer para tracking automatico de cambios en servicios
- Correccion de variables auxiliar en ServiciosController
- Actualizacion de configuraciones y migraciones
- Endpoint para consultar historial de cambios

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 23:01:55 +00:00

39 lines
990 B
PHP
Executable File

<?php
namespace App\Http\Requests\Operador;
use Illuminate\Foundation\Http\FormRequest;
class RespuestasOperadorRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'*.nombre' => 'string|required',
'*.tipo' => 'string|required',
'*.tipo_checkbox' => 'boolean|required',
'*.tipo_text' => 'boolean|required',
'*.tipo_radio_btn' => 'boolean|required',
'*.respuesta_checkbox' => 'boolean|nullable',
'*.respuesta_text' => 'string|nullable',
'*.respuesta_radio_btn' => 'string|nullable',
'*.fecha' => 'date|required'
];
}
}