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,39 @@
<?php
namespace App\Models\WebService\Laboratorio\Cliente;
use App\Models\ExameLaboratorial\AgendamentoExame\Agendamento AS ExameLaboratorialAgendamento;
use App\Models\Model;
class PedidoMovimentacao extends Model
{
protected $table = 'web_service_laboratorio_cliente_pedido_movimentacao';
protected $casts = [
'movimentado_em' => 'datetime:Y-m-d H:i:s',
];
protected $fillable = [
'conectasus_exame_laboratorial_agendamento_id',
'status_id',
'motivo',
'movimentado_em',
];
protected $hidden = [
'created_at',
'updated_at',
'externo_created_usuario_id',
'externo_updated_usuario_id',
];
public function pedido()
{
return $this->belongsTo(ExameLaboratorialAgendamento::class, 'conectasus_exame_laboratorial_agendamento_id');
}
public function status()
{
return $this->belongsTo(PedidoStatus::class);
}
}