Files
rkm-conectasus-ci-sandbox/api/app/Models/ExameImagem/Agendamento/AgendamentoHistoricoExclusao.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

48 lines
1.0 KiB
PHP

<?php
namespace App\Models\ExameImagem\Agendamento;
use App\Models\Cadastro\SujeitoAtencao\Usuario;
use App\Models\Model;
use App\Models\Parametrizacao\Exame\Exame;
class AgendamentoHistoricoExclusao extends Model
{
protected $table = 'exame_imagem_agendamento_historico_exclusao';
protected $fillable = [
'id',
'agendamento_id',
'agendamento_agendador_id',
'data_hora_criacao',
'paciente_id',
'agendamento_numero',
'exame_id',
'data_hora_exclusao',
];
protected $casts = [
'data_hora_criacao' => 'datetime:d/m/Y H:i:s',
'data_hora_exclusao' => 'datetime:d/m/Y H:i:s',
];
protected $hidden = [
'created_at',
'created_lotacao_id',
'created_centro_custo_id',
'updated_at',
'updated_lotacao_id',
'updated_centro_custo_id',
];
public function usuario()
{
return $this->belongsTo(Usuario::class);
}
public function exame()
{
return $this->belongsTo(Exame::class);
}
}