45 lines
965 B
PHP
45 lines
965 B
PHP
<?php
|
|
|
|
namespace App\Models\TransportePaciente\Veiculo;
|
|
|
|
use App\Models\Model;
|
|
|
|
class Veiculo extends Model
|
|
{
|
|
protected $table = 'transporte_paciente_veiculo';
|
|
|
|
protected $fillable = [
|
|
'id',
|
|
'numero_placa',
|
|
'padrao_placa_mercosul',
|
|
'descricao_modelo',
|
|
'numero_capacidade',
|
|
'ano_fabricacao',
|
|
'numero_patrimonio',
|
|
'prefixo',
|
|
'kilometro_inicial',
|
|
'numero_renavam',
|
|
'numero_eixos',
|
|
'numero_chassi',
|
|
'data_aquisicao',
|
|
'numero_cnpj_proprietario',
|
|
'nome_proprietario',
|
|
'bloqueado',
|
|
'tipo_ambulancia',
|
|
'marca_id',
|
|
'tipo_id',
|
|
'tipo_passageiro_id',
|
|
'cor_id',
|
|
'combustivel_id',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_at',
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
];
|
|
}
|