33 lines
721 B
PHP
33 lines
721 B
PHP
<?php
|
|
|
|
namespace App\Models\AtencaoBasica\Procedimento;
|
|
|
|
use App\Models\Model;
|
|
use App\Models\Sigtap\Procedimento;
|
|
|
|
class ProcedimentoAtendimentoProcedimento extends Model
|
|
{
|
|
protected $table = 'atencao_basica_procedimento_atendimento_procedimento';
|
|
|
|
protected $fillable = [
|
|
'pre_atendimento_id',
|
|
'soap_id',
|
|
'pos_consulta_id',
|
|
'procedimento_id',
|
|
'procedimento_atendimento_id',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
];
|
|
|
|
public function procedimento()
|
|
{
|
|
return $this->belongsTo(Procedimento::class);
|
|
}
|
|
}
|