Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#99 #103

Merged
merged 9 commits into from
Sep 3, 2024
Merged

Feature/#99 #103

merged 9 commits into from
Sep 3, 2024

Conversation

GayeongKimm
Copy link
Member

변경사항 :

  1. 회원가입시 부모연락처를 받도록 수정
  2. Admin페이지에서 유저수정 가능하도록

@GayeongKimm GayeongKimm linked an issue Aug 20, 2024 that may be closed by this pull request
@@ -44,8 +44,10 @@ public class Member extends BaseEntity {
@NotNull
private String phone;

private String parentPhone;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

부모님 번호는 공통 정보가 아니라 학생의 정보이므로 굳이 member 에 추가하기 보다는 student에 추가하는게 맞는 것 같습니다

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NotNull 도 추가해주세요

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


case TEACHER:
updateMemberInfo(id, req);
Teacher teacher = service.getTeacherBy(service.getMemberBy(id));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

공통 부분을 switch case 문에 넣을 필요가 없어 보입니다

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@suw0n suw0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

전반적인 코드 스타일도 한 번 체크해주세요

@suw0n
Copy link
Member

suw0n commented Aug 24, 2024

학생 회원가입할 때, 부모님 전화번호도 받게하는 부분이랑 관리자가 부모님 전화번호를 변경하는 부분만 남기고 머지한 후에 비밀번호 재설정 같은 부분은 다른 이슈에서 작업하는게 좋을 것 같아요.

@suw0n
Copy link
Member

suw0n commented Sep 3, 2024

👏👏👏

@suw0n suw0n merged commit 4febb25 into master Sep 3, 2024
@GayeongKimm GayeongKimm deleted the Feature/#99 branch September 4, 2024 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: 회원가입시 부모 연락처 받기
3 participants