-
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 개발 #173
[FEAT] 알림 어드민 API 개발 #173
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.
너무 깔끔하게 짜셨고 CRUD라 리뷰 남길게 크게 없네요..! 고생하셨습니다~~!
@ApiOperation("알림 리스트 조회") | ||
@GetMapping | ||
public ResponseEntity<ApiResponse> getAlarms( | ||
@RequestParam(required = false) Integer generation, |
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.
현재기수는 fe에서 관리하는거죠?!
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.
네! 세션 생성에서도 generation 값을 받고 있어서 통일되게 작성했어요!
) { | ||
public Alarm toEntity() { |
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.
오 이거 새롭네요..! 나중에 다른거도 이렇게 하면 좋겠네요 좋아요!
@@ -64,8 +65,13 @@ public Alarm(AlarmRequestDTO requestDTO) { | |||
this.title = requestDTO.title(); |
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.
코드리뷰에 잡히지 않아서 커서를 여기다 두었는데,
혹시 이부분 List으로 변경할수 있을까요?! 알림서버에서 스트링값으로 받고 있어서!(dynamoDB)
늦게 이야기해서 죄송합니다 ㅠㅠ
@Column(columnDefinition = "TEXT")
@Convert(converter = LongListConverter.class)
private List<Long> targetList;
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.
String 타입의 리스트를 말하는거죠??
Part part, | ||
List<Long> targetList, | ||
Status status | ||
List<Long> targetList |
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.
List 변경이 가능할까요:!
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.
String 리스트로 변경하면서 FE에서 csv 추출하는 로직에 있어 해당 자료형으로 보내달라고 해야할것 같아요
[FEAT] 알림 어드민 API 개발 #173
Related Issue 🚀
Work Description ✏️
PR Point 📸
아래와 같은 조건으로 API를 설계했어요. 참고 부탁드려요~!