40 lines
860 B
PHP
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);
|
|
}
|
|
}
|