Skip to content

Commit

Permalink
fix: JpaChatArchive 삭제했던 생성자 다시 추가
Browse files Browse the repository at this point in the history
private 접근제어자 지정 및 supress 추가
  • Loading branch information
jxmen committed Aug 28, 2024
1 parent 998f963 commit ec9eabc
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@ class JpaChatArchive(
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "member_id")
val member: Member,
) : BaseEntity()
) : BaseEntity() {
/**
* NOTE: Kotlin JDSL에서 사용하기 위해 추가한 생성자
*/
@Suppress("unused")
private constructor(id: Long, subject: Subject, member: Member) : this(subject, member) {
this.id = id
}
}

0 comments on commit ec9eabc

Please sign in to comment.