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

[FEAT] Concert 조회, 삽입, 삭제 구현 #14

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Conversation

kwanse
Copy link
Collaborator

@kwanse kwanse commented Sep 24, 2024

  1. Delete Id 유효성 검사

  2. Insert, Delete 시 Bulk 로 적용
    -> ConcertJdbcRepository 생성
    -> ConcertRepository implements JpaRepository, ConcertJdbcRepository

  3. Concert 의 time -> startHour

  4. ConcertCommandService.add 의 return 값이 ConcertResponse 에서 Long 으로 변경

5.ConcertController.add 의 return 값이 ConcertResponse 에서 void 로 변경

  1. 예매 가능 시간은 공연 시작날로부터 일주일 전, 낮 12시로 설정

  2. 유효성 메세지 추가

  3. 그 외 여러가지 상수값들 잔뜩 추가,,

  4. startHour 최소, 최대 유효성 검증 추가

테스트용 Schema 추가
Concert 테스트 추가
ConcertServiceTest 에 예매 가능 시간 테스트 추가

Copy link
Collaborator

@AnTaeho AnTaeho left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!
몇가지 궁금한 점이랑 의견 남겨봤습니다!


@Repository
Copy link
Collaborator

@AnTaeho AnTaeho Sep 24, 2024

Choose a reason for hiding this comment

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

P4
제가 알기로 JPARepository를 상속 받으면 @repository가 필요 없는 것으로 알고 있는데
리포지토리라는 것을 명시해주기 위해서 작성하신건가요?
그렇다면 저는 있어도 좋다고 생각합니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

제가 알기로 JPARepository를 상속 받으면 @repository가 필요 없는 것으로 알고 있는데 리포지토리라는 것을 명시해주기 위해서 작성하신건가요? 그렇다면 저는 있어도 좋다고 생각합니다!

그냥 이름표 같은 느낌으로 줘봤습니당..!

Copy link
Collaborator

@AnTaeho AnTaeho left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

Copy link
Collaborator

@kimdw0823 kimdw0823 left a comment

Choose a reason for hiding this comment

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

고생하셨어요

Copy link
Collaborator

@AnTaeho AnTaeho left a comment

Choose a reason for hiding this comment

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

좋습니다

@kwanse kwanse merged commit 1acb7c7 into main Sep 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants