This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Cadastro\SujeitoAtencao;
|
||||
|
||||
use App\Models\Model;
|
||||
|
||||
class PacienteInformacaoResidencialVeiculo extends Model
|
||||
{
|
||||
|
||||
protected $table = 'cadastro_paciente_informacao_residencial_veiculo';
|
||||
|
||||
|
||||
protected $fillable = [
|
||||
'paciente_informacao_residencial_id',
|
||||
'modelo',
|
||||
'ano',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'created_lotacao_id',
|
||||
'created_centro_custo_id',
|
||||
'updated_at',
|
||||
'updated_lotacao_id',
|
||||
'updated_centro_custo_id',
|
||||
'deleted_at',
|
||||
'deleted_lotacao_id',
|
||||
'deleted_centro_custo_id',
|
||||
];
|
||||
|
||||
public function pacienteInformacaoResidencial()
|
||||
{
|
||||
return $this->belongsTo(PacienteInformacaoResidencial::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user