From 16ae438450b902c6408d9ce3bd342e5c4ea88138 Mon Sep 17 00:00:00 2001 From: Jo Kyung Hyeon Date: Thu, 13 Oct 2022 16:21:16 +0900 Subject: [PATCH] refactor: (#90) redis persistence entity data class --- .../comit/simtong/persistence/auth/entity/AuthCodeEntity.kt | 2 +- .../simtong/persistence/auth/entity/AuthCodeLimitEntity.kt | 2 +- .../comit/simtong/persistence/auth/entity/RefreshTokenEntity.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeEntity.kt b/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeEntity.kt index cea6409f..e4f58615 100644 --- a/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeEntity.kt +++ b/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeEntity.kt @@ -16,7 +16,7 @@ import javax.validation.constraints.NotNull * @version 1.0.0 **/ @RedisHash("tbl_authcode") -class AuthCodeEntity( +data class AuthCodeEntity( @Id val key: String, diff --git a/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeLimitEntity.kt b/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeLimitEntity.kt index 8254c0c0..b5db7e62 100644 --- a/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeLimitEntity.kt +++ b/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/AuthCodeLimitEntity.kt @@ -16,7 +16,7 @@ import javax.validation.constraints.NotNull * @version 1.0.0 **/ @RedisHash("tbl_authcode_limit") -class AuthCodeLimitEntity( +data class AuthCodeLimitEntity( @Id val key: String, diff --git a/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/RefreshTokenEntity.kt b/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/RefreshTokenEntity.kt index 7fcc421a..288f3776 100644 --- a/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/RefreshTokenEntity.kt +++ b/simtong-infrastructure/src/main/kotlin/team/comit/simtong/persistence/auth/entity/RefreshTokenEntity.kt @@ -17,7 +17,7 @@ import javax.validation.constraints.NotNull * @version 1.0.0 **/ @RedisHash("tbl_refresh_token") -class RefreshTokenEntity( +data class RefreshTokenEntity( @Id val token: String,