Skip to content

Commit

Permalink
fix: 학교 전화번호와 교사 전화번호 구분
Browse files Browse the repository at this point in the history
- 원서 상세 조회시 교사 전화번호가 나오지 않는 문제를 해결했어요.
- 학교 연락처가 teacherPhoneNumber 로 되어있어 의미 상 헷갈리는 것을 변경했어요.
  • Loading branch information
cabbage16 committed Jul 9, 2024
1 parent d8261e9 commit 89c0b13
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ public class EducationResponse {
private String schoolName;
private String schoolLocation;
private String schoolCode;
private String schoolPhoneNumber;
private String schoolAddress;
private String teacherName;
private String teacherPhoneNumber;
private String teacherMobilePhoneNumber;

public EducationResponse(Education education) {
this.graduationType = education.getGraduationType();
Expand All @@ -25,7 +26,8 @@ public EducationResponse(Education education) {
this.schoolLocation = education.getSchool().getLocation();
this.schoolAddress = education.getSchool().getAddress();
this.schoolCode = education.getSchool().getCode();
this.schoolPhoneNumber = education.getTeacher().getPhoneNumber().toString();
this.teacherName = education.getTeacher().getName();
this.teacherPhoneNumber = education.getTeacher().getPhoneNumber().toString();
this.teacherMobilePhoneNumber = education.getTeacher().getMobilePhoneNumber().toString();
}
}

0 comments on commit 89c0b13

Please sign in to comment.