This commit is contained in:
26
api/app/Models/ProntoAtendimento/Raat/Agente.php
Normal file
26
api/app/Models/ProntoAtendimento/Raat/Agente.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\ProntoAtendimento\Raat;
|
||||
|
||||
use App\Models\Model;
|
||||
use App\Models\ProntoAtendimento\Atendimento\RaatParecerMedico;
|
||||
|
||||
class Agente extends Model
|
||||
{
|
||||
protected $table = 'pronto_atendimento_raat_agente';
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'nome'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function pareceresMedico()
|
||||
{
|
||||
return $this->hasMany(RaatParecerMedico::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user