37 lines
830 B
PHP
37 lines
830 B
PHP
<?php
|
|
|
|
namespace App\Models\ExameLaboratorial\AgendamentoExame;
|
|
|
|
use App\Models\ExameLaboratorial\AgendamentoExame\AgendamentoExame;
|
|
use App\Models\Model;
|
|
use App\Models\Parametrizacao\Exame\ExameComposicao;
|
|
|
|
class AgendamentoExameResultado extends Model
|
|
{
|
|
protected $table = 'exame_laboratorial_agendamento_exame_resultado';
|
|
|
|
protected $fillable = [
|
|
'agendamento_exame_id',
|
|
'composicao_id',
|
|
'valor',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
];
|
|
|
|
public function exame()
|
|
{
|
|
return $this->belongsTo(AgendamentoExame::class);
|
|
}
|
|
|
|
public function composicao()
|
|
{
|
|
return $this->belongsTo(ExameComposicao::class);
|
|
}
|
|
}
|