Add onCreate() method with @PrePersist annotation that sets createdAt to LocalDateTime.now() on first persist, consistent with other entities (UserTariff, CommunityTariff, etc.). Guard prevents overwriting existing values. Two new tests verify auto-population and idempotency. |
||
|---|---|---|
| .idea | ||
| .mvn/wrapper | ||
| docs/compose/reports | ||
| eeg_backend | ||
| eeg_frontend | ||
| .dockerignore | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| ai-context.ps1 | ||
| deploy.sh | ||
| DEPLOYMENT.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| mvnw | ||
| mvnw.cmd | ||
| nginx-ssl.conf | ||
| nginx.conf | ||
| pom.xml | ||
| setup-server.sh | ||
| setup-ssl.sh | ||