Skip to content

Commit

Permalink
feat: Application Entity Post 관계 ManyToOne으로 설정 (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeong-hyeok committed Jun 3, 2024
1 parent 3476766 commit 1ae1a6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Application extends BaseTimeEntity {
private String phone; // 전화번호
@Column(length = 200, nullable = false)
private String content; // 전달 및 문의사항
@OneToOne(fetch = FetchType.LAZY)
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "post_id", nullable = false)
private Post post; // 공고 id
@ManyToOne(fetch = FetchType.LAZY)
Expand Down

0 comments on commit 1ae1a6c

Please sign in to comment.