From 90c8906606bc67a5df42ffec195b61844bd19af9 Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Thu, 12 Oct 2023 10:47:06 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20User=20=EC=97=94=ED=8B=B0=ED=8B=B0?= =?UTF-8?q?=EC=97=90=20point=20=ED=95=84=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/andreas311/miso/domain/user/entity/User.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt b/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt index 7f462075..a3815a3e 100644 --- a/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt +++ b/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt @@ -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")])