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

회고 서비스 작성 #22

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fec9315
Refactor(#21): import 대상 변경
sjhjack Sep 15, 2024
e84f5d6
Refactor(#21): Object -> ReviewContent 변경
sjhjack Sep 15, 2024
ad21587
Refactor(#21): Schedule 컬럼 추가
sjhjack Sep 15, 2024
6e2f53e
Feat(#21): starter-web 추가
sjhjack Sep 15, 2024
f2ee49e
Chore(#21): SpringBootApplication 위치 변경
sjhjack Sep 15, 2024
9a54021
Chore(#21): Repository 어노테이션 추가
sjhjack Sep 15, 2024
4f7d11e
Chore(#21): wypl-core에 도메인 추가
sjhjack Sep 15, 2024
06e1f2b
Feat(#21): review request dto 추가
sjhjack Sep 15, 2024
db46347
Feat(#21): review response dto 추가
sjhjack Sep 15, 2024
f7f6b41
Feat(#21): review service interface 추가
sjhjack Sep 15, 2024
2e68e0b
Chore(#21): domain 단에서 web 제거
sjhjack Sep 15, 2024
9a835d0
Refactor(#21): Member Entity에 Getter 추가 및 import 스타일 변경
sjhjack Sep 21, 2024
02a7cfa
Feat(#21): Review Entity에 of, updateTitle 메서드 추가
sjhjack Sep 21, 2024
f894c6f
Feat(#21): ReviewContents Document에 of, updateContents 메서드 추가
sjhjack Sep 21, 2024
d2975f0
Refactor(#21): 파라미터 id값 타입 int -> long 변경
sjhjack Sep 21, 2024
1308d6e
Refactor(#21): ReviewResponse의 썸네일 타입 Object -> ReviewContent 변경
sjhjack Sep 21, 2024
e728b56
Refactor(#21): ReviewController 위치 변경
sjhjack Sep 21, 2024
e11edb9
Feat(#21): ReviewException 추가
sjhjack Sep 21, 2024
b514883
Feat(#21): Review Service, Repository 추가(MemberSchedule 제거)
sjhjack Sep 21, 2024
bf8f5cd
Refactor(#21): ReviewDetailResponse의 members 제거
sjhjack Sep 21, 2024
6ebb67c
Refactor(#21): ReviewServiceImpl에 ReviewUtils 적용
sjhjack Sep 21, 2024
1ed48db
Refactor(#21): getReviewsByScheduleId 내부 로직 수정
sjhjack Sep 21, 2024
ae5ae80
Chore(#21): 필요 없는 주석 삭제
sjhjack Sep 22, 2024
ec2de39
Refactor(#21): ReviewException의 파라미터를 ServerErrorCode -> ReviewErrorC…
sjhjack Sep 22, 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
Refactor(#21): Schedule 컬럼 추가
  • Loading branch information
sjhjack committed Sep 15, 2024
commit ad2158784f283c184d71a6d7243ab58e81e0beb6
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.hibernate.annotations.SQLRestriction;

import com.wypl.jpacalendardomain.schedule.domain.Schedule;
import com.wypl.jpacommon.JpaBaseEntity;
import com.wypl.jpamemberdomain.member.Member;

Expand Down Expand Up @@ -38,5 +39,7 @@ public class Review extends JpaBaseEntity {
@JoinColumn(name = "member_id")
private Member member;

// TODO: 추후 schedule 와 `@ManyToOne` 관계가 필요
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "schedule_id")
private Schedule schedule;
}