Skip to content

feat: 뽀모도로 엔티티 구현(#33)#37

Merged
hisonghy merged 1 commit intodevelopfrom
feature/33
Jul 21, 2025
Merged

feat: 뽀모도로 엔티티 구현(#33)#37
hisonghy merged 1 commit intodevelopfrom
feature/33

Conversation

@hisonghy
Copy link
Contributor

📌 작업 내용 및 특이사항

✅ Pomodoro 엔티티 구현

  • 데일리 목표 세션에서 학습에 집중한 시간을 기록하기 위한 Pomodoro 엔티티 구성
  • 집중 시간, 휴식 시간, 총 집중 시간(총 학습 시간) 필드를 초 단위로 관리하도록 설계
  • 1차 MVP 에서는 집중 시간만 설정하지만, 추후 알림 기능이 도입되면 집중 세션 개수(focusCount)휴식 시간(breakDurationInSeconds)을 설정할 수 있도록 필드 구성
> 현재는 Pomodoro 엔티티가 생성될 때, `focusCount = 1`, `breakDurationInSeconds = 0` 고정 값이 설정되도록 구성하고 추후 리팩토링 예정
> 휴식 세션 개수는 설정한 `focusCount - 1`로 계산해 적용할 예정
  • 여행이 완료된 후 리포트를 생성할 때 총 학습한 시간 계산을 위해 totalFocusTimeInSeconds 필드 추가
> 이 값은 클라이언트에서 총 학습 시간을 계산하고, 서버로 요청하는 API로 구현할 예정

✅ PomodoroFactory 클래스 구현

  • Pomodoro 엔티티 생성을 책임지는 PomodoroFactory.create() 메서드 구현

🌱 관련 이슈


🔍 참고사항(선택)


📚 기타(선택)

* feat: PomodoroFactory 클래스에 엔티티를 생성하는 create() 메서드 추가
@hisonghy hisonghy requested a review from chaiminwoo0223 July 21, 2025 13:57
@hisonghy hisonghy self-assigned this Jul 21, 2025
@hisonghy hisonghy added the ✨feature 구현, 개선 사항 관련 부분 label Jul 21, 2025
Copy link
Contributor

@chaiminwoo0223 chaiminwoo0223 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다. 머지 부탁드립니다.

@hisonghy hisonghy merged commit 8adaa3e into develop Jul 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨feature 구현, 개선 사항 관련 부분

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨[FEAT]: Pomodoro 엔티티 구현

2 participants