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

[동아리원 관리 미션] 신유승 과제 제출합니다. #5

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

Youthhing
Copy link

No description provided.

- 개인별 출력 API -> 모든 동아리원 개인별 출력
- 기본 entity 세팅
- Map을 통한 메모리 Repository 구현
- 나이 범위 검증 기능 구현
- 실력: 나이로 초기화
- API 호출 시 날짜와 기수를 기준으로 실력 계산
- 파트Enum 실력 향상 월 추가
- 동아리원 등록 기능
- 개인 실력 계산 기능
- 동아리원 출력 기능
- api parameter `type`으로 구분
- 평균 능력 계산 기능 구현
- 정렬 기능 추가
- 파트 없으면 반환 하지 않음
- 멤버 정렬 -> DTO 정렬
Comment on lines +11 to +15
PRODUCT_MANAGER("기획", List.of(Month.JANUARY, Month.MAY, Month.SEPTEMBER)),
DESIGN("디자이너", List.of(Month.FEBRUARY, Month.JUNE, Month.OCTOBER)),
FRONTEND("프론트엔드", List.of(Month.MARCH, Month.JULY, Month.NOVEMBER)),
BACKEND("백엔드", List.of(Month.APRIL, Month.AUGUST, Month.DECEMBER));

Copy link
Owner

Choose a reason for hiding this comment

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

good

Comment on lines +18 to +23
if (this.ability > o.ability) {
return -1;
}
if (this.ability < o.ability) {
return 1;
}
Copy link
Owner

Choose a reason for hiding this comment

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

if (this.ability != o.ability) return this.ability - o.ability;
이렇게 써보는 건 어떨까요??

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