28 lines
494 B
PHP
28 lines
494 B
PHP
<?php
|
|
|
|
namespace App\Models\Integracao\Erpsaude;
|
|
|
|
use App\Models\Integracao\Erpsaude\Atendimento;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Exame extends Model
|
|
{
|
|
protected $table = 'integracao_erpsaude_exames';
|
|
|
|
protected $fillable = [
|
|
'atendimento_id',
|
|
'exame',
|
|
'tipo',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_at',
|
|
'updated_at',
|
|
];
|
|
|
|
public function atendimentos()
|
|
{
|
|
return $this->hasMany(Atendimento::class);
|
|
}
|
|
}
|