feat(backend): Behandlungen-Modul (Modul 8)

TreatmentsModule mit Erfassung und Colony-Historie-Endpunkt fuer
Tierarzneimittel-Behandlungen.
This commit is contained in:
Nick Szaunig committed 2026-08-22 00:04:50 +02:00
1 parent 66c14cf306
commit 61e0bbe794
9 files changed
+360 -1

No files matched your search

@@ -0,0 +1,15 @@
import { Controller, Get, Param } from '@nestjs/common';
import { ApiBearerAuth, ApiTags } from '@nestjs/swagger';
import { TreatmentsService } from './treatments.service';
@ApiTags('treatments')
@ApiBearerAuth()
@Controller('colonies')
export class ColonyTreatmentsController {
constructor(private readonly treatmentsService: TreatmentsService) {}
@Get(':id/treatments')
findByColony(@Param('id') id: string) {
return this.treatmentsService.findByColony(id);
}
}