캐릭터 챗봇 #338
| @@ -1,6 +1,7 @@ | |||||||
| package kr.co.vividnext.sodalive.chat.character | package kr.co.vividnext.sodalive.chat.character | ||||||
|  |  | ||||||
| import kr.co.vividnext.sodalive.common.BaseEntity | import kr.co.vividnext.sodalive.common.BaseEntity | ||||||
|  | import javax.persistence.Column | ||||||
| import javax.persistence.Entity | import javax.persistence.Entity | ||||||
| import javax.persistence.FetchType | import javax.persistence.FetchType | ||||||
| import javax.persistence.JoinColumn | import javax.persistence.JoinColumn | ||||||
| @@ -16,6 +17,7 @@ class ChatCharacterPersonality( | |||||||
|     val trait: String, |     val trait: String, | ||||||
|  |  | ||||||
|     // 성격 특성 설명 |     // 성격 특성 설명 | ||||||
|  |     @Column(columnDefinition = "TEXT", nullable = false) | ||||||
|     val description: String, |     val description: String, | ||||||
|  |  | ||||||
|     @ManyToOne(fetch = FetchType.LAZY) |     @ManyToOne(fetch = FetchType.LAZY) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user