Conversation
fc2841d to
a19b6d9
Compare
Contributor
chaiminwoo0223
left a comment
There was a problem hiding this comment.
고생하셨습니다. 궁금한 내용이 있어 코드 리뷰를 남겼습니다. 확인 부탁드립니다.
src/main/java/com/ject/studytrip/stamp/application/service/StampService.java
Outdated
Show resolved
Hide resolved
src/test/java/com/ject/studytrip/trip/application/service/TripServiceTest.java
Show resolved
Hide resolved
chaiminwoo0223
approved these changes
Jul 10, 2025
Contributor
chaiminwoo0223
left a comment
There was a problem hiding this comment.
모두 확인했습니다. 머지 부탁드려요!
Contributor
Author
커밋 병합 후에 병합하겠습니다 |
* feat: Trip 모델 구현 * feat: TripCategory enum 구현 * feat: Stamp 모델 구현 * feat: DateUtil 유틸리티 클래스 추가 * feat: 여행 카테고리 목록 조회 기능 구현 * feat: 여행 생성 시 스탬프 함께 생성되도록 기능 구현 * feat: 여행 수정, 스탬프 순서 수정 구현 * feat: 여행 삭제 기능 구현 * feat: 멤버 여행 목록 조회 기능 구현 * feat: 특정 여행 조회 및 해당 스탬프 목록 조회 기능 구현 * test: Fixture 클래스 추가 (TripFixture, CreateTripRequestFixture, UpdateTripRequestFixture, StampFixture, CreateStampRequestFixture) * test: Helper 클래스 추가 (TripTestHelper, TokenTestHelper) * test: TripControllerIntegrationTest - 통합 테스트 추가 * test: TripServiceTest - 단위 테스트 추가 * test: StampServiceTest - 단위 테스트 추가 * test: MemberFixture 클래스 메서드 추가 - createMemberFromKakao(email, nickname), createMemberFromKakoWithId(id) * test: MemberTestHelper 클래스 메서드 추가 - saveMember(email, nickname)
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.
📌 작업 내용 및 특이사항
✅ 도메인, 모델 구현
Trip,Stamp엔티티 구현TripCategoryenum 모델 구현TripFactory,StampFactory)✅ DateUtil 클래스 추가
LocalDate,LocalDateTime타입의 파싱, 포맷을 처리하는 유틸 클래스 추가✅ 여행 관련 기능 구현
1️⃣ 여행 카테고리 목록 조회
TripCategoryenum의COURSE(코스형)과EXPLORE(탐험형)항목을 조회하는 API 구현2️⃣ 여행 생성
3️⃣ 여행 수정
PATCH요청으로 수정이 필요한 필드만 수정할 수 있도록 구현4️⃣ 여행 삭제
soft delete되도록 업데이트 예정5️⃣ 여행 목록 조회
endDate필드로D-DAY값을 계산하고,totalStamps,completedStamps필드로progress(진행률)값을 계산해 함께 응답하도록 구성6️⃣ 여행 상세 조회
여행 ID를 기반으로 여행 상세 정보와 해당 여행에 포함된 스탬프 목록을 함께 조회할 수 있도록 구현D-DAY,progress정보를 함께 응답하도록 구성✅ 테스트
TokenTestHelper클래스 구성MemberFixture클래스에createMemberFromKakao(email, nickname),createMemberFromKakaoWithId(id)메서드 추가Fixture및Helper클래스 추가TripControllerIntegrationTest통합 테스트 추가TripServiceTest단위 테스트 추가StampServiceTest단위 테스트 추가🌱 관련 이슈
🔍 참고사항(선택)
📚 기타(선택)
application계층의dto도입은 추후 리팩토링 사항이지만, 여행 관련 기능에서D-DAY,progress같은 부가 정보를 일관되게 응답되도록application.dto를 구성했습니다. 이 부분은 추후 리팩토링 단계에서 자세히 다루면 좋을 것 같습니다