40 lines
908 B
PHP
40 lines
908 B
PHP
<?php
|
|
|
|
namespace App\Models\ProntoAtendimento\Atendimento;
|
|
|
|
use App\Models\Model;
|
|
|
|
class PrescricaoInternaAplicacao extends Model
|
|
{
|
|
protected $table = 'pronto_atendimento_atendimento_prescricao_interna_aplicacao';
|
|
|
|
protected $fillable = [
|
|
'prescricao_interna_id',
|
|
'atendimento_enfermagem_id',
|
|
'paciente_observacao_id',
|
|
'status_id',
|
|
];
|
|
|
|
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 prescricaoInterna()
|
|
{
|
|
return $this->belongsTo(PrescricaoInterna::class);
|
|
}
|
|
|
|
public function atendimentoEnfermagem()
|
|
{
|
|
return $this->belongsTo(AtendimentoEnfermagem::class);
|
|
}
|
|
}
|