This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Cadastro\SujeitoAtencao;
|
||||
|
||||
use App\Models\Model;
|
||||
|
||||
class PacienteInformacaoResidencialEmprestimo extends Model
|
||||
{
|
||||
|
||||
protected $table = 'cadastro_paciente_informacao_residencial_emprestimo';
|
||||
|
||||
|
||||
protected $fillable = [
|
||||
'paciente_informacao_residencial_id',
|
||||
'tipo',
|
||||
'valor_parcela',
|
||||
'quantidade_parcela',
|
||||
];
|
||||
|
||||
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