Skip to content

Commit

Permalink
#5 #24 refactor: User엔티티 refresh_toke -> refreshToken 필드명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
xhaktmchl committed Nov 24, 2022
1 parent fe39399 commit 64f6936
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/src/main/java/com/yogit/server/user/entity/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class User extends BaseEntity {
private String gender;
private String nationality;

private String refresh_token;
private String refreshToken;

@Enumerated(EnumType.STRING)
private UserStatus userStatus;
Expand All @@ -81,15 +81,15 @@ public User (String loginId, String phoneNum){
this.phoneNum = phoneNum;
}

public User (String loginId, String refresh_token, String name){
public User (String loginId, String refreshToken, String name){
this.loginId = loginId;
this.refresh_token = refresh_token;
this.refreshToken = refreshToken;
this.name = name;
}

public User (String loginId, String refresh_token, String name, UserType userType){
public User (String loginId, String refreshToken, String name, UserType userType){
this.loginId = loginId;
this.refresh_token = refresh_token;
this.refreshToken = refreshToken;
this.name = name;
this.userType = userType;
}
Expand Down

0 comments on commit 64f6936

Please sign in to comment.