This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\AtencaoBasica\Procedimento;
|
||||
|
||||
use App\Models\AtencaoBasica\Procedimento\PequenaCirurgia;
|
||||
use App\Models\Pivot;
|
||||
|
||||
class ProcedimentoAtendimentoPequenaCirurgia extends Pivot
|
||||
{
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'created_lotacao_id',
|
||||
'created_centro_custo_id',
|
||||
'updated_at',
|
||||
'updated_lotacao_id',
|
||||
'updated_centro_custo_id',
|
||||
'pequena_cirurgia_id',
|
||||
'procedimento_atendimento_id',
|
||||
];
|
||||
|
||||
public function pequenaCirurgia()
|
||||
{
|
||||
return $this->belongsTo(PequenaCirurgia::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user