File manager - Edit - /var/www/html/gop/api/app/Http/Requests/Update/UpdateFornecimentoRequest.php
Back
<?php namespace App\Http\Requests\Update; use Illuminate\Foundation\Http\FormRequest; class UpdateFornecimentoRequest 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<string, mixed> */ public function rules() { return [ 'empresa_id' => 'required|exists:empresas,id', 'obra_id' => 'required|exists:obras,id', 'processo' => 'required|string|max:255', 'material' => 'required|string|max:50', 'ordem_servico' => 'required|string|max:255', 'prazo_entrega' => 'required|date', 'endereco_id' => 'nullable|exists:enderecos,id', 'horario_entrega' => 'required|date_format:H:i', 'empenho_id' => 'required|exists:empenhos,id', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings