Skip to content

Refactor: 서비스/엔티티 구조 개선 및 역할 분리#42

Merged
so1eeee merged 8 commits intodevelopfrom
refactor/#41-service-entity-srp
Jun 5, 2025
Merged

Refactor: 서비스/엔티티 구조 개선 및 역할 분리#42
so1eeee merged 8 commits intodevelopfrom
refactor/#41-service-entity-srp

Conversation

@so1eeee
Copy link
Contributor

@so1eeee so1eeee commented Jun 5, 2025

#️⃣연관된 이슈

resolved #41

📝작업 내용

  • 서비스 계층 책임 분리

    • BusAlertService (기존 SseEmitterService) - SSE 연결 및 알림 전송
    • BusOcrMatchingService - OCR 결과 처리 및 버스 번호 매칭
    • BusArrivalService - 버스 도착 정보 조회
    • BusStationService - 정류장 정보 조회
    • StringSimilarityService - 문자열 유사도 계산
  • 엔티티 제거

    • BusArrival, BusStation 엔티티 제거
  • DTO 객체 도입 및 개선

    • 실시간 데이터 전송을 위한 DTO 구조화
  • 주석 추가 및 코드 문서화

🔎코드 설명 및 참고 사항

💬리뷰 요구사항

@so1eeee so1eeee self-assigned this Jun 5, 2025
@so1eeee so1eeee added the ♻️ Refactor code refactoring label Jun 5, 2025
@so1eeee so1eeee merged commit 251bc4a into develop Jun 5, 2025
1 check passed
@so1eeee so1eeee deleted the refactor/#41-service-entity-srp branch June 5, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ Refactor code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: 서비스/엔티티 구조 개선 및 역할 분리

1 participant