Skip to content

Commit

Permalink
📝 User 엔티티에 point 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuuuuk committed Oct 12, 2023
1 parent ecde1af commit 90c8906
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/andreas311/miso/domain/user/entity/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class User(
@Column(name = "password")
val password: String,

var point: Int = 0,

@Enumerated(EnumType.STRING)
@ElementCollection(fetch = FetchType.EAGER)
@CollectionTable(name = "Role", joinColumns = [JoinColumn(name = "user_id")])
Expand Down

0 comments on commit 90c8906

Please sign in to comment.