This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\AtencaoBasica\AtendimentoIndividual;
|
||||
|
||||
use App\Models\Model;
|
||||
use App\Models\Sigtap\Procedimento;
|
||||
|
||||
class AtendimentoIndividualProcedimento extends Model
|
||||
{
|
||||
protected $table = 'atencao_basica_atendimento_individual_procedimento';
|
||||
|
||||
protected $fillable = [
|
||||
'procedimento_id',
|
||||
'atendimento_individual_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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user