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

[Spring Data JPA] 안준영 미션 제출합니다. #86

Open
wants to merge 26 commits into
base: junyeong-an
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5956b9f
feat: Auth 패키지 생성 및 클래스 생성
Junyeong-An Jul 26, 2024
df79257
refactor: 테스트명 수정
Junyeong-An Jul 26, 2024
ac7b77f
feat: 2단계 테스트 추가
Junyeong-An Jul 26, 2024
eea343a
feat: 로그인 예약 응답 추가
Junyeong-An Jul 26, 2024
786d931
feat: 테스트명 수정
Junyeong-An Jul 26, 2024
5bf4530
feat: jwtTokenTest 추가
Junyeong-An Jul 26, 2024
91be93a
Feat: 유정 정보 응답 클래스 생성
Junyeong-An Aug 4, 2024
9162bd3
Refactor: 토큰으로 유저 정보를 반환
Junyeong-An Aug 4, 2024
efa199b
Refactor: 테스트 코드에 맞춰 String 타입으로 반환
Junyeong-An Aug 4, 2024
47783ba
refactor: record로 변환
Junyeong-An Aug 6, 2024
b4e8cf8
refactor: 인증 메서드 분리
Junyeong-An Aug 6, 2024
152a202
refactor: 필요없는 import문 제거
Junyeong-An Aug 6, 2024
e489728
Feat: JpaRepository 추가
Junyeong-An Aug 13, 2024
863e220
Feat: data-jpa 의존성 추가
Junyeong-An Aug 13, 2024
98b8366
Remove: Dao 삭제
Junyeong-An Aug 13, 2024
f4acdea
Refactor: jpa 엔티티화
Junyeong-An Aug 13, 2024
60bf826
Feat: jpa 테스트 코드 추가
Junyeong-An Aug 13, 2024
ea9bc3e
Remove: 필요없는 sql구문 제거
Junyeong-An Aug 13, 2024
f54660d
Refactor: JpaRepository 의존성 연결
Junyeong-An Aug 13, 2024
373efb4
Feat: 테스트 코드 추가
Junyeong-An Aug 13, 2024
12d2d36
Feat: member 의존성 추가
Junyeong-An Aug 13, 2024
be4f692
Feat: 내 예약 목록 반환 DTO 추가
Junyeong-An Aug 13, 2024
b0ae410
Feat: sql 구문 수정
Junyeong-An Aug 13, 2024
8343015
Feat: 토큰으로 내 예약 목록 조회 기능 추가
Junyeong-An Aug 13, 2024
94635f0
Feat: Waiting 엔티티 생성 및 연관관계
Junyeong-An Aug 13, 2024
aae16bb
Refactor: Member 찾는 로직 수정
Junyeong-An Aug 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Feat: JpaRepository 추가
Junyeong-An committed Aug 13, 2024
commit e48972831499ff7651ac3a43e906b46553b5bad3
8 changes: 8 additions & 0 deletions src/main/java/roomescape/member/MemberRepository.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package roomescape.member;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberRepository extends JpaRepository<Member, Long> {
}
10 changes: 10 additions & 0 deletions src/main/java/roomescape/reservation/ReservationRepository.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package roomescape.reservation;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ReservationRepository extends JpaRepository<Reservation, Long> {
List<Reservation> findByDateAndThemeId(String date, Long themeId);
}
8 changes: 8 additions & 0 deletions src/main/java/roomescape/time/TimeRepository.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package roomescape.time;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface TimeRepository extends JpaRepository<Time, Long>{
}