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

#90 [feat] 모델 지원서 상세보기 기능 구현 #93

Merged
merged 7 commits into from
Jan 11, 2024
Merged

Conversation

pkl0912
Copy link
Contributor

@pkl0912 pkl0912 commented Jan 11, 2024

관련 이슈번호

해결하는 데 얼마나 걸렸나요? (예상 작업 시간 / 실제 작업 시간)

  • 4h..?

해결하려는 문제가 무엇인가요?

  • 모델 지원서 상세보기

어떻게 해결했나요?

  • 시술이력 개월 수 작은 순서대로 sorting
  • enum getValue 해서 수정했습니다
  • prefer region에서 강남구, 관악구 값 받는다는 이야기를 들었는데, 구체적으로 결정된 사항이 있을까요?

@pkl0912 pkl0912 added the feat label Jan 11, 2024
@pkl0912 pkl0912 self-assigned this Jan 11, 2024
Copy link
Member

@KWY0218 KWY0218 left a comment

Choose a reason for hiding this comment

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

작업하시느라 고생하셨습니다!
코맨트 확인해주세요!

@@ -5,7 +5,8 @@
@Getter
@AllArgsConstructor
public enum ServiceRecordTerm {
UNDER_ONE("1 개월 미만"), ONE_THREE("1 - 3 개월"), FOUR_SIX("4 - 6 개월"), SEVEN_TWELVE("7 - 12 개월"), ABOVE_TWELVE("12 개월 초과");
UNDER_ONE("1 개월 미만",1), ONE_THREE("1 - 3 개월",2), FOUR_SIX("4 - 6 개월",3), SEVEN_TWELVE("7 - 12 개월", 4), ABOVE_TWELVE("12 개월 초과", 5);
Copy link
Member

Choose a reason for hiding this comment

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

p2
enum class의 기본 속성 중 ordinal 이란 속성이 있습니다.
sort를 위해 order를 추가한 듯 보이는데, ordinal을 사용하면 order을 제거할 수 있을 것 같습니다!

Copy link
Member

@KWY0218 KWY0218 left a comment

Choose a reason for hiding this comment

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

굿굿 ~ ! 👍

Copy link
Member

@hellozo0 hellozo0 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~~!

@Operation(summary = "[JWT] 모델 지원서 상세 조회", description = "모델 지원서 상세 조회 API입니다.")
@ApiResponses({
@ApiResponse(responseCode = "200", description = "모델 지원서 상세 조회 성공", content = @Content(schema = @Schema(implementation = ApplicationDetailInfoResponse.class))),
@ApiResponse(responseCode = "401", description = "인증 오류 입니다.", content = @Content(schema = @Schema(implementation = ErrorResponse.class))),
Copy link
Member

Choose a reason for hiding this comment

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

p3:
여기에 applicationId가 잘못왔을 때에 대한 404 에러도 있어야할것 같아요

@pkl0912 pkl0912 merged commit a96e4ae into develop Jan 11, 2024
1 check passed
@pkl0912 pkl0912 deleted the feat/#90 branch January 12, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] 모델 지원서 상세보기 기능 구현
3 participants