-
Notifications
You must be signed in to change notification settings - Fork 1
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
[POM-94] 가게 전화번호 삭제 기능 추가 #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍👍 궁금한 점 하나 코멘트 달았습니다
@@ -57,7 +57,7 @@ public String getBusinessNumber() { | |||
return requiredStoreInfo.getBusinessNumber(); | |||
} | |||
|
|||
public Store afterRegisterPhoneNumber(String phoneNumber) { | |||
public Store retrieveStoreAfterRegisteringPhoneNumber(String phoneNumber) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
메소드명에 retrieveStoreAfter가 필요한가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
메서드 명을 어떻게 작성하는게 좋을까요?
단순히 register만 하는게 아니라 return type이 Store라서.. 이럴 경우 어떻게 메서드 명을 작성하는게 좋은지 저도 궁금하긴 하네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨어요 👍
public PhoneNumber getPhoneNumber() { | ||
return tel; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지금처럼 쓰실거면 tel의 getter니까 getTel 로 메소드 이름을 지어도 괜찮을 것 같아요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tel이 db에서는 사용해도 괜찮은데 뭔가 어플리케이션단에서는 쓰기 좀 그래서 PhoneNumber라 이름을 지었어요
📌 설명