-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat : User 도메인 email 필드 기본값 세팅 * edit : 회원 저장 시 email 저장 안하도록 수정 * fix : AuthService test 오류 수정 * edit : 이메일 기본값 변경
- Loading branch information
1 parent
3236df3
commit 4544326
Showing
4 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,14 @@ class UserEntity( | |
val id: Long = 0L, | ||
|
||
@Column(name = "email") | ||
val email: String, | ||
val email: String = "[email protected]", | ||
|
||
@Column(name = "role") | ||
@Enumerated(EnumType.STRING) | ||
val role: Role, | ||
|
||
@Column(name = "nickname") | ||
var nickname: String = email, | ||
var nickname: String = "NOT_REGISTERED", | ||
|
||
@Column(name = "auth_platform") | ||
@Enumerated(EnumType.STRING) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ import java.util.regex.Pattern | |
|
||
data class User( | ||
val id: Long = 0L, | ||
val email: String, | ||
val email: String = "[email protected]", | ||
val role: Role, | ||
var nickName: String = email, | ||
var nickName: String = "NOT_REGISTERED", | ||
val authPlatform: AuthPlatform, | ||
var registered: Boolean = false, | ||
var sub: String? | ||
|