Skip to content

Commit

Permalink
#82 fix : userId -> id 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkode committed Apr 25, 2024
1 parent 0becea4 commit 1ced325
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/seoultech/synergybe/domain/user/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Entity(name = "user_entity")
@Entity(name = "user")
public class User extends BaseTime {

@Id
@Column(name = "user_id")
private String userId;
private String id;

@Embedded
private UserEmail email;
Expand All @@ -36,14 +36,14 @@ public class User extends BaseTime {

@Builder
public User(
String userId,
String id,
String email,
String password,
String name,
CustomPasswordEncoder passwordEncoder,
String major
) {
this.userId = userId;
this.id = id;
this.email = new UserEmail(email);
this.password = new UserPassword(password, passwordEncoder);
this.name = new UserName(name);
Expand Down

0 comments on commit 1ced325

Please sign in to comment.