Files
patbond-api/patbond-pet
lixi d8303bf446 feat: 健康事件时间线接口与 occurred_at 游标分页(T2-06)
- GET/POST /api/v1/pets/{petId}/health-events + PATCH /api/v1/health-events/{eventId}
- 六类事件白名单、amount_cents 整数分非负(禁用 Jackson float→int 截断)、
  created_by_user_id 记操作者
- occurred_at DESC, id DESC 游标分页对齐 ix_health_events_pet_time;
  Idempotency-Key 派生主键幂等;version 乐观锁 40902;
  顶层记录路径 40402 记录级防枚举
- health_event_media / provider / booking 不实现不外露(ADR-010)
- Testcontainers 集成测试 11 例(六类路径 + 分页专项)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-07 17:59:17 +08:00
..