From 2a9d4d6b540ec3ea5efbc8a6fe9ff5c782f46b4e Mon Sep 17 00:00:00 2001 From: swdevsw98 <102571918+swdevsw98@users.noreply.github.com> Date: Tue, 27 Feb 2024 23:50:00 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20user=20isDeleted=20=ED=95=84=ED=84=B0?= =?UTF-8?q?=EB=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/daitssuapi/domain/user/model/entity/User.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/com/example/daitssuapi/domain/user/model/entity/User.kt b/src/main/kotlin/com/example/daitssuapi/domain/user/model/entity/User.kt index a8f556c8..2c3d7f5f 100644 --- a/src/main/kotlin/com/example/daitssuapi/domain/user/model/entity/User.kt +++ b/src/main/kotlin/com/example/daitssuapi/domain/user/model/entity/User.kt @@ -6,9 +6,11 @@ import jakarta.persistence.FetchType import jakarta.persistence.JoinColumn import jakarta.persistence.ManyToOne import jakarta.persistence.Table +import org.hibernate.annotations.Where @Entity @Table(name = "users") +@Where(clause = "is_deleted = 0") class User( val studentId: String,