init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Models\ProntoAtendimento\Raat;
use App\Models\Model;
use App\Models\ProntoAtendimento\Atendimento\RaatParecerMedico;
use App\Models\ProntoAtendimento\Atendimento\RaatParecerMedicoDiagnostico;
class Diagnostico extends Model
{
protected $table = 'pronto_atendimento_raat_diagnostico';
protected $fillable = [
'id',
'nome'
];
protected $hidden = [
'created_at',
'updated_at',
];
public function pareceresMedico()
{
return $this->belongsToMany(
RaatParecerMedico::class,
'pronto_atendimento_raat_parecer_medico_diagnostico',
'diagnostico_id',
'parecer_medico_id'
)->using(RaatParecerMedicoDiagnostico::class)->withTimestamps();
}
}