[FEAT] 한 프로젝트가 여러 수상 목록을 가질 수 있도록 변경#177
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
한 프로젝트가 단일 수상 상태가 아니라 여러 수상 내역 목록을 가질 수 있도록 도메인/DTO/조회 및 관련 테스트를 변경한 PR입니다. (#176)
Changes:
AwardStatus단일 값 →ProjectAwardStatus엔티티 기반의 다중 수상 내역(awardStatuses)으로 도메인 모델 확장- 프로젝트 요청/응답 DTO 및 Excel 업로드 파싱 로직을
awardStatuses: List<AwardStatus>로 변경 - 수상작 조회 쿼리 및 REST Docs 테스트의 필드 스펙을
awardStatuses로 갱신
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main/java/com/scg/stop/project/domain/Project.java | awardStatuses 1:N 연관 추가 및 업데이트 로직 반영 |
| src/main/java/com/scg/stop/project/domain/ProjectAwardStatus.java | 프로젝트-수상내역 조인 엔티티 신규 추가 |
| src/main/java/com/scg/stop/project/domain/AwardStatus.java | NONE 제거 및 예외 메시지 포맷 정리 |
| src/main/java/com/scg/stop/project/dto/request/ProjectRequest.java | 요청 필드 awardStatuses로 변경 및 엔티티 변환 시 수상 목록 반영 |
| src/main/java/com/scg/stop/project/dto/response/ProjectResponse.java | 응답에 awardStatuses 목록 노출 |
| src/main/java/com/scg/stop/project/dto/response/ProjectDetailResponse.java | 상세 응답에 awardStatuses 목록 노출 |
| src/main/java/com/scg/stop/project/service/ProjectExcelService.java | Excel “수상 내역”을 콤마 분리해 리스트로 파싱 |
| src/main/java/com/scg/stop/project/repository/ProjectRepository.java | 수상작 조회가 다중 수상 구조를 사용하도록 JPQL 변경 |
| src/test/java/com/scg/stop/project/controller/ProjectControllerTest.java | REST Docs 필드 awardStatuses로 변경 및 테스트 데이터 갱신 |
| src/test/java/com/scg/stop/user/controller/UserControllerTest.java | 즐겨찾기 프로젝트 응답의 awardStatuses 문서화 반영 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
8 tasks
Member
|
PR 본문에 close #176 처럼 쓰면 PR이 머지될 때 연관된 이슈를 자동으로 Close 할 수 있습니다! |
Contributor
Author
오 처음 알았네요 감사합니다 👍 |
yesjuhee
reviewed
Apr 22, 2026
…eat/176-multiple-awards
yesjuhee
approved these changes
Apr 25, 2026
Contributor
Author
|
@yesjuhee |
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.
작성자: @snghyn28
#{176}
체크 리스트
작업 내역
마이그레이션 스크립트