36 lines
711 B
PHP
36 lines
711 B
PHP
<?php
|
|
|
|
namespace App\Models\TransportePaciente\Condutor;
|
|
|
|
use App\Models\Cadastro\SujeitoAtencao\Usuario;
|
|
use App\Models\Model;
|
|
|
|
class Condutor extends Model
|
|
{
|
|
protected $table = 'transporte_paciente_condutor';
|
|
|
|
protected $fillable = [
|
|
'id',
|
|
'usuario_id',
|
|
'numero_cnh',
|
|
'categoria_cnh_id',
|
|
'bloqueado',
|
|
'vencimento_habilitacao',
|
|
'matricula'
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_at',
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
];
|
|
|
|
public function usuario()
|
|
{
|
|
return $this->belongsTo(Usuario::class);
|
|
}
|
|
}
|