Skip to content

민경준 1주차 과제 #3

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nihaojohn0609
Copy link

@nihaojohn0609 nihaojohn0609 commented Sep 28, 2024

  1. 회사 직원 관리 테이블

image

직원 개인별 직원 ID, 성, 이름, 이메일 필드 추가

  1. 직원 개인정보 테이블

image

개인별로 나이, 집주소, 직원 ID, 급여 필드 추가

전부 출력하는 findAll()은 아직은 출력이 안되는 것 같습니다.

@nihaojohn0609 nihaojohn0609 changed the title 민경준 1주차 과제 회사 직원 관리 테이블 Sep 28, 2024
@nihaojohn0609 nihaojohn0609 changed the title 회사 직원 관리 테이블 민경준 1주차 과제 Sep 30, 2024
Comment on lines +32 to 35
public Employee(String firstName, String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
Copy link
Member

Choose a reason for hiding this comment

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

여기 빌더 안에 email 필드가 빠진 이유가 궁금합니다!

Copy link
Author

Choose a reason for hiding this comment

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

Email 필드 누락인 것 같습니다. 오류 지적 감사합니다!

Comment on lines +103 to +105
Assertions.assertThat(result1.getFirstName()).isEqualTo("민");
Assertions.assertThat(result2).isNull();
Assertions.assertThat(result3.getLastName()).isEqualTo("범서");
Copy link
Member

Choose a reason for hiding this comment

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

assertj 메소드 사용해서 점검해주신 부분 너무 좋습니다!

@jjunhub
Copy link
Member

jjunhub commented Oct 1, 2024

전체적으로 잘 해내신 것 같습니다. 고생하셨습니다!

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.

2 participants