feat: 이벤트 종료(완료) 처리 API#56
Merged
Merged
Conversation
- events.completed_at 컬럼 추가(V12, nullable)
- Event.completedAt + 파생 completed, EventService complete(멱등)/reopen
- POST /events/{id}/complete·reopen, EventResponse 에 completed·completedAt
- Service 단위·Controller 슬라이스 테스트 추가
Closes #55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #55
변경
events.completed_at(nullable TIMESTAMPTZ) 추가 — 추가 컬럼, 백필 없음.Event.completedAt+ 파생completed.EventService.complete(멱등, 이미 종료면 최초 시각 유지)/reopen(null 복귀).POST /api/v1/events/{id}/complete·/reopen(소유권 스코프, 404 차단).EventResponse에completed/completedAt추가(additive).동기
D-Day/기간이 지나도(D+) 자동 삭제하지 않고, 유저가 명시적으로 종료할 때까지 홈에 노출(FRD 5.1).
테스트 계획
./gradlew test전체 그린배포