<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class BieneRequest extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     */
    public function authorize(): bool
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
     */
    public function rules(): array
    {
        return [
			'inventario' => 'required|string',
			'estatus_id' => 'required',
			// 'categoria_id' => 'required',
            'marca' => 'required',
            'modelo' => 'required',
            'serie' => 'required',
            'bien' => 'required',
            'conservacion_id' => 'required',
            'centro_trabajo_id' => 'required',
            'descripcion' => 'required',
            'tipoBien_id' => 'required',
            'observaciones' => 'required',
            'situacion_id' => 'required',
            'factura_id' => 'required',
            'costo' => 'required',
            'categoria_partida_id' => 'required',
            // 'fechaAlta' => 'required',
        ];
    }
}
