Skip to content

Commit

Permalink
feat : (#17) Correct mappedBy field name from notice_id to notice in …
Browse files Browse the repository at this point in the history
…Notice entity
  • Loading branch information
kangeunchan committed Jan 8, 2025
1 parent 88cf9f3 commit ec034fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Notice(
@Enumerated(EnumType.STRING)
@Column(name = "importance_of_recruit", nullable = false)
var importanceOfRecruit: ImportanceOfRecruit,
@OneToMany(mappedBy = "notice_id", fetch = FetchType.LAZY)
@OneToMany(mappedBy = "notice", fetch = FetchType.LAZY)
val reports: List<Report> = listOf(),
) {
fun update(command: UpdateNoticeCommand) {
Expand Down

0 comments on commit ec034fe

Please sign in to comment.