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/#19 리뷰 관리 기능 구현 #33

Merged
merged 25 commits into from
Mar 12, 2024

Conversation

This2sho
Copy link
Contributor

@This2sho This2sho commented Feb 23, 2024

👍관련 이슈

🤔세부 내용

todo

  • 객체 참조 대신 id 참조로 변경
  • EnumList 변경 감지 작동하는지 테스트
  • Convert 어노테이션 필드에 붙이도록 변경

🫵리뷰 중점사항

  • 내가 쓴 리뷰 조회, 주차장 상세보기에서 resonse 같은 경우는 스펙을 생각해보고 추가하겠습니다.
  • 리뷰 작성 같은 경우는 테스트 해본다고 일단 만들었습니다.
  • MemberRepository Fake 객체 만든다고 JpaRepository에서 Repository로 변경했는데 괜찮을까여?

@This2sho This2sho added the 📝feature 기능 추가 label Feb 23, 2024
@This2sho This2sho self-assigned this Feb 23, 2024
Copy link
Contributor

@youngh0 youngh0 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
Contributor

@jundonghyuk jundonghyuk left a comment

Choose a reason for hiding this comment

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

고생하셨어요 건호형 커멘트 남겼으니 확인부탁드려요 ㅎㅅㅎ

Comment on lines 33 to 40
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "parking_id", nullable = false)
private Parking parking;

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "reviewer_id", nullable = false)
private Member reviewer;

Copy link
Contributor

Choose a reason for hiding this comment

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

리뷰가 Parkingreviewer 자체를 알아야 할 필요가 있을까요 ?

id만 갖고있어도 될 것 같은데, 너무 커플링이 되어있는것같아서 여쭙습니다..!

@This2sho
Copy link
Contributor Author

이후 커밋

  • 객체 참조 대신 id 참조로 변경
  • 주차장 조회 구현
  • Convert 어노테이션 필드에 붙이도록 변경

# Conflicts:
#	.gitignore
#	src/main/java/com/example/parking/domain/member/MemberRepository.java
#	src/main/java/com/example/parking/domain/parking/Parking.java
#	src/main/resources/application.properties
#	src/test/java/com/example/parking/auth/MemberSessionRepositoryTest.java
Copy link

Test Results

115 tests   115 ✅  2s ⏱️
 24 suites    0 💤
 24 files      0 ❌

Results for commit de1386e.

@This2sho This2sho merged commit 41fe5c4 into main Mar 12, 2024
3 checks passed
@This2sho This2sho deleted the Feat/#19_리뷰_관리_기능_구현 branch March 12, 2024 14:36
youngh0 added a commit that referenced this pull request Mar 12, 2024
* feat: 즐겨찾기 엔티티 생성

* feat: 컴파일 에러 수정

* feat: 즐겨찾기 Repository 구현

* feat: 즐겨찾기 dto 구현

* feat: 즐겨찾기 service 구현

* feat: 즐겨찾기 controller 구현

* feat: memberId, parkingId 값 객체 생성

* Create ci.yml

* fix: 없어진 괄호 수정

* fix: 테스트용 설정 파일 추가

* Update ci.yml

PR 코멘트는 pr일때만 보내도록 변경

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Feat/#19 리뷰 관리 기능 구현 (#33)

* Refactor: DB <-> Application 간 데이터 변환하는 컨버터 위치 수정

* feat: 이미지 저장할 패키지 추가

* fix: 오류나는 패키지 구조 변경

* feat: 리뷰에서 선택할 수 있는 글 생성

* feat: 이미지 저장하는 기능 구현

* feat: 리뷰 작성하는 기능 구현

* feat: 리뷰 컨트롤러 작성(테스트용)

* test: mysql 도 돌릴 수 있도록 수정

* gitignroe 추가

* properties 추가

* test: 안쓰는 어노테이션 제거

* refactor: 이미지 제거

* refactor: 연관관계 ID 참조로 변경

* feat: 주차장 조회 기능 구현

* refactor: 패키지명 변경 common -> support

* refactor: 기본 생성자 접근자 변경

* refactor: Convert 어노테이션 필드에 붙이도록 변경

* refactor: createdAt 필드 변경

* ci test

* ci test2

* refactor: 이미지 관련 파일 삭제

* fix: conflict 해결

* feat: 즐겨찾기 엔티티 생성

* feat: 컴파일 에러 수정

* feat: 즐겨찾기 Repository 구현

* feat: 즐겨찾기 dto 구현

* feat: 즐겨찾기 service 구현

* feat: 즐겨찾기 controller 구현

* feat: memberId, parkingId 값 객체 생성

* feat: api 스펙 변경

* feat: association 적용

---------

Co-authored-by: LeeGeonHo <zx00018@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝feature 기능 추가
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: 리뷰 관리 기능을 구현한다.
3 participants