Files
rkm-conectasus-ci-sandbox/api/app/Models/WebService/Laboratorio/Cliente/Exame.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

40 lines
860 B
PHP

<?php
namespace App\Models\WebService\Laboratorio\Cliente;
use App\Models\Parametrizacao\Exame\Exame as CadastroExame;
use App\Models\Model;
class Exame extends Model
{
protected $table = 'web_service_laboratorio_cliente_exame';
protected $fillable = [
'laboratorio_id',
'conectasus_exame_id',
'nome',
];
protected $hidden = [
'laboratorio_id',
'created_at',
'created_lotacao_id',
'created_centro_custo_id',
'updated_at',
'updated_lotacao_id',
'updated_centro_custo_id',
'externo_created_usuario_id',
'externo_updated_usuario_id',
];
public function laboratorio()
{
return $this->belongsTo(Laboratorio::class);
}
public function conectasusExame()
{
return $this->belongsTo(CadastroExame::class);
}
}