This commit is contained in:
37
api/app/Models/Ambulatorio/AtendimentoSoapTriaHistorio.php
Normal file
37
api/app/Models/Ambulatorio/AtendimentoSoapTriaHistorio.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Ambulatorio;
|
||||
|
||||
use App\Models\Model;
|
||||
|
||||
class AtendimentoSoapTriaHistorio extends Model
|
||||
{
|
||||
protected $table = 'ambulatorio_atendimento_soap_tria_historio';
|
||||
|
||||
protected $casts = [
|
||||
'alimentos_acabaram' => 'boolean',
|
||||
'comeu_alguns_alimentos' => 'boolean',
|
||||
'data_atualizacao_tria' => 'date',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'soap_id',
|
||||
'alimentos_acabaram',
|
||||
'comeu_alguns_alimentos',
|
||||
'data_atualizacao_tria',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'created_lotacao_id',
|
||||
'created_centro_custo_id',
|
||||
'updated_at',
|
||||
'updated_lotacao_id',
|
||||
'updated_centro_custo_id',
|
||||
];
|
||||
|
||||
public function soap()
|
||||
{
|
||||
return $this->belongsTo(AtendimentoSoap::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user