feat: add Stufen backend with entity, service, controller (Closes #31) #80

Merged
shahondin1624 merged 1 commits from feature/issue-31-stufen-backend into main 2026-04-07 12:06:24 +02:00
Owner

Summary

  • Creates Stufe, StufeHistory entities and mappers
  • Creates StufeService with CRUD, assignMemberToStufe (records history), getMemberStufeHistory, delete protection
  • Creates StufeController with REST API: list, create, update, delete, member history
  • Registers 5 new routes in routes.php

API Endpoints

  • GET /api/v1/stufen -- list all
  • POST /api/v1/stufen -- create (Admin)
  • PUT/DELETE /api/v1/stufen/{id} -- update/delete (Admin)
  • GET /api/v1/members/{memberId}/stufe-history -- member history

Closes #31

## Summary - Creates `Stufe`, `StufeHistory` entities and mappers - Creates `StufeService` with CRUD, `assignMemberToStufe` (records history), `getMemberStufeHistory`, delete protection - Creates `StufeController` with REST API: list, create, update, delete, member history - Registers 5 new routes in `routes.php` ## API Endpoints - `GET /api/v1/stufen` -- list all - `POST /api/v1/stufen` -- create (Admin) - `PUT/DELETE /api/v1/stufen/{id}` -- update/delete (Admin) - `GET /api/v1/members/{memberId}/stufe-history` -- member history Closes #31
shahondin1624 added 1 commit 2026-04-07 12:06:14 +02:00
Full CRUD stack for Stufen management:
- Stufe/StufeHistory entities and mappers
- StufeService with CRUD, member assignment with history tracking,
  delete protection (fails if members assigned)
- StufeController REST API with 5 endpoints including member
  Stufe history
- Routes registered for Stufen CRUD and history

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shahondin1624 merged commit 37d2b1d5b3 into main 2026-04-07 12:06:24 +02:00
shahondin1624 deleted branch feature/issue-31-stufen-backend 2026-04-07 12:06:24 +02:00
Sign in to join this conversation.