parent
ebad3b31b7
commit
5d1c5fcc44
|
@ -1,6 +1,7 @@
|
|||
package kr.co.vividnext.sodalive.chat.room
|
||||
|
||||
import kr.co.vividnext.sodalive.common.BaseEntity
|
||||
import javax.persistence.Column
|
||||
import javax.persistence.Entity
|
||||
import javax.persistence.FetchType
|
||||
import javax.persistence.JoinColumn
|
||||
|
@ -8,6 +9,7 @@ import javax.persistence.ManyToOne
|
|||
|
||||
@Entity
|
||||
class ChatMessage(
|
||||
@Column(columnDefinition = "TEXT", nullable = false)
|
||||
val message: String,
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
|
Loading…
Reference in New Issue