Skip to content

Commit

Permalink
feat user 엔티티 기본 생성자 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
david-parkk committed Mar 10, 2024
1 parent 7bfd8f5 commit b72cd12
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules/travelmate.main.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/main/java/konkuk/travelmate/domain/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@Getter
@RequiredArgsConstructor
@ToString
@NoArgsConstructor
public class User {

@Id
Expand Down Expand Up @@ -41,6 +42,7 @@ public User(@NonNull String name, @NonNull String email, @NonNull String passwor
this.health = health;
}


public void setHealth(Health health){
this.health=health;
}
Expand Down

0 comments on commit b72cd12

Please sign in to comment.