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,57 @@
<?php
namespace App\Http\Controllers\Farmacia;
use Illuminate\Http\Response;
use App\Services\Farmacia\AltoCustoGerenciamentoProcessoService;
use App\Http\Controllers\Controller;
class AltoCustoGerenciamentoProcessoController extends Controller
{
protected $modulo = 'farmacia';
protected $funcionalidade = 'alto-custo-gerenciamento-processo';
public function index($pacienteId)
{
$this->auth(__FUNCTION__);
return response()->json(AltoCustoGerenciamentoProcessoService::index($pacienteId), Response::HTTP_OK);
}
public function create($pacienteId)
{
$this->auth(__FUNCTION__);
return response()->json(AltoCustoGerenciamentoProcessoService::create($pacienteId), Response::HTTP_OK);
}
public function store()
{
$this->auth(__FUNCTION__);
return response()->json(AltoCustoGerenciamentoProcessoService::store(), Response::HTTP_CREATED);
}
public function edit($id)
{
$this->auth(__FUNCTION__);
return response()->json(AltoCustoGerenciamentoProcessoService::edit($id), Response::HTTP_OK);
}
public function update($id)
{
$this->auth(__FUNCTION__);
return response()->json(AltoCustoGerenciamentoProcessoService::update($id), Response::HTTP_OK);
}
public function destroy($id)
{
$this->auth(__FUNCTION__);
AltoCustoGerenciamentoProcessoService::destroy($id);
return response()->noContent();
}
}