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,