-
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
[FEAT] 온보딩 부모자식 관계 정보 입력(초대하는 측) API #15
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.
새벽까지 수고 많아써~~
|
||
private String relationInfo; // 아들 or 딸 | 아빠 or 엄마 | ||
|
||
// TODO 디폴트 값 지정해줘야 할까? -> by 디폴트 생성자 |
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.
클라쪽에서 기본적으로 23시로 설정 가능하다고 함!
따라서 그냥 넘어오는 값으로 세팅해주기 :)
private String relationInfo; // 아들 or 딸 | 아빠 or 엄마 | ||
|
||
// TODO 디폴트 값 지정해줘야 할까? -> by 디폴트 생성자 | ||
@JsonFormat(pattern = "kk:mm") |
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.
한번 더 클라촉에 형식 전달했음!
// @Column(nullable = false) | ||
private boolean isInvitorChild; |
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.
P1: 이부분 nullable false로 바꿔도 될듯! 어짜피 이제 한번에 넘어오니까
@Column(nullable = false) | ||
private LocalTime pushTime; | ||
@Column(nullable = false) // TODO 푸시알림 시간 디폴트 값 없으면 nullable: true로 변경 | ||
private LocalTime pushTime; // default: 오후 11시 |
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.
위에서 말한 것처럼 디폴트값 클라에서 고려해서 넘어옴!
@Slf4j | ||
@Service | ||
@RequiredArgsConstructor | ||
@Transactional(readOnly = true) |
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.
readOnly=true 클래스단에 적용 굿굿
📌 관련 이슈
close #13
✨ 어떤 이유로 변경된 내용인지
🙏 검토 혹은 리뷰어에게 남기고 싶은 말