This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Ambulatorio;
|
||||
|
||||
use App\Models\Model;
|
||||
|
||||
class AcompanhamentoOciMotivoEncerramento extends Model
|
||||
{
|
||||
protected $table = 'ambulatorio_acompanhamento_oci_motivo_encerramento';
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'nome',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function acompanhamentosOcis()
|
||||
{
|
||||
return $this->hasMany(AcompanhamentoOci::class, 'finalizado_motivo_encerramento_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user