Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 잔여 좌석 조회 API 구현 #89

Closed
wants to merge 6 commits into from

Conversation

yeGenieee
Copy link
Collaborator

@yeGenieee yeGenieee commented Oct 1, 2023

관련된 이슈 번호

변경사항 (할 일)

  • 잔여 좌석을 조회하는 API 구현
    • 특정 공연의 특정 시간(회차)의 등급별 좌석 전체 개수 조회
      • TimeSchedule 엔티티의 timeScheduleSeatGradeList 를 참조하면 알 수 있습니다
      • TimeScheduleSeatGrade 에 해당 time_schedule_id로 매핑된 SeatGrade Enum 객체의 count를 조회하면 됩니다
    • 특정 공연의 특정 시간(회차)의 잔여 좌석 개수 조회
      • 위에서 구한 좌석 등급별 전체 개수에서 ReservedSeat 엔티티를 참조하여 해당 엔티티의 count 필드를 빼면 잔여 좌석 개수를 구할 수 있습니다

추가 점검사항

  • test case
  • document

image

@yeGenieee yeGenieee self-assigned this Oct 1, 2023
@yeGenieee yeGenieee linked an issue Oct 1, 2023 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Oct 1, 2023

Test Results

0 tests   - 28   0 ✔️  - 24   0s ⏱️ -1s
0 suites  - 15   0 💤  -   4 
0 files    - 15   0 ±  0 

Results for commit 8c76c2e. ± Comparison against base commit 8041a8e.

♻️ This comment has been updated with latest results.

@yeGenieee
Copy link
Collaborator Author

파일 변경 사항이 너무 많아서, 현재 PR은 닫고, 다시 PR 올리겠습니다!

@yeGenieee yeGenieee closed this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 잔여 좌석 조회 API 개발
1 participant