From 6c55a246dba314a72ffbdb9d099cd730df14e17e Mon Sep 17 00:00:00 2001 From: Shiwon Park Date: Mon, 2 Sep 2024 19:06:16 +0900 Subject: [PATCH] feat: add email --- src/main/kotlin/me/gistory/newbies_server_24/dto/UserDto.kt | 1 + src/main/kotlin/me/gistory/newbies_server_24/entities/User.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/kotlin/me/gistory/newbies_server_24/dto/UserDto.kt b/src/main/kotlin/me/gistory/newbies_server_24/dto/UserDto.kt index 6d5c7e9..f75e2b6 100644 --- a/src/main/kotlin/me/gistory/newbies_server_24/dto/UserDto.kt +++ b/src/main/kotlin/me/gistory/newbies_server_24/dto/UserDto.kt @@ -4,6 +4,7 @@ import java.util.* data class UserDto( val id: UUID, + val email: String, val nickname: String, val createdAt: Date, ) \ No newline at end of file diff --git a/src/main/kotlin/me/gistory/newbies_server_24/entities/User.kt b/src/main/kotlin/me/gistory/newbies_server_24/entities/User.kt index 522c0a0..8f26f1b 100644 --- a/src/main/kotlin/me/gistory/newbies_server_24/entities/User.kt +++ b/src/main/kotlin/me/gistory/newbies_server_24/entities/User.kt @@ -29,5 +29,6 @@ class User( id = id, nickname = nickname, createdAt = createdAt, + email = email, ) }