## 어떤 부분을 리팩터링하려 하나요? > 리팩터링하려는 부분에 대해 간결하게 설명해주세요 ### AS-IS **Entity** - Application Entity first~third university @ ManyToOne 매핑 **Repository** - 지망에 따라 메서드가 3개로 나뉘어 있고 쿼리 메서드 가독성 문제 **Service** - Service UniversityInfoForApply N+1 문제 발생 - Optional → null → filter(nonNull) 형태로 코드 길어짐 ### TO-BE **Entity** - first~third university @ ManyToOne 매핑 제거 **Repository** - 지망에 따른 메서드 1개로 통합 **Service** - 한 번의 쿼리로 받아오도록 변경 - Stream.of + filter + map형태로 수정 ## 작업 상세 내용 - [x] Entity 매핑 삭제 - [x] Repository 메서드 JPQL로 변경 및 통합 - [x] Service 바뀐 Repository 메서드에 맞춰 로직 수정 - [x] 기타 Service 코드 최적화 ## 참고할만한 자료(선택) 코드 구조상 각 리팩터링 부분을 분리할 수 없어 한 번에 issue양이 많아진 점 양해 부탁드립니다.