Skip to content

Commit

Permalink
Feat: Member 생성자 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yxhwxn committed Jul 29, 2024
1 parent 8264447 commit d6ace48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/com/cmc/suppin/member/domain/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,13 @@ public class Member extends BaseDateTimeEntity {

private String role;

// 추가된 생성자
public Member(String name, String password, String email, String phoneNumber, String role) {
this.name = name;
this.password = password;
this.email = email;
this.phoneNumber = phoneNumber;
this.role = role;
}
}

0 comments on commit d6ace48

Please sign in to comment.