Feature/#31#32
Merged
hayeon7898 merged 5 commits intodevfrom Feb 6, 2026
Merged
Conversation
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.
시간 투표(TimePoll) CRUD API 구현
배경
날짜 투표(Vote) 확정 이후, 구체적인 만남 시간을 정하기 위한 시간 투표 API입니다. PRD 3.1~3.5 흐름 중 CRUD 부분에 해당합니다.
흐름
추가된 파일
Entity
TimePoll— 시간 투표 본체. 기존 Vote를 FK로 참조하며, 상태(ONGOING/ULTIMATUM/FINALIZED)와 확정 시간을 관리TimePollEntry— 참여자별 투표 응답. 기존 Participant를 재활용하며, 동일 투표에 중복 제출 방지(UniqueConstraint)TimePollStatus— 상태 enumAPI 엔드포인트
주요 로직
LocalTime(24시간 형식)으로 저장. 프론트에서18:00→6시,16:30→4시반변환20:00→18:00→16:30)submit시 전원 투표 완료 여부를 체크하고, 전원 완료면 자동으로finalize호출submit,accept,statusAPI 모두 동일한TimePollStatusResponse형식으로 응답참고