Skip to content

#11 - 애그리거트 설계에 맞춰 도메인 추가 #12

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

Merged
merged 16 commits into from
Jul 6, 2024

Conversation

kpeel5839
Copy link
Contributor

1. 🔗 관련 이슈

#11

2. 📄 구현한 내용 또는 수정한 내용

이슈에 나와있는 것과 동일한 구조로, 정말 간단하게 도메인 모델들만 추가했어요! 추가적으로 VO들 같은 경우는 각자 작업하면서 구체화 해나갈 것 같아서 딱히 크게 건드리지는 않았습니다!

3. 🙌 추가적으로 알리고 싶은 내용

Entity를 추가한다거나 구조를 잡는 것은 기천짱이 한번 보시고 제가 한번에 진행해도 되겠다 싶으면 코멘트 남겨주세요! 혹은 같이 페어 프로그래밍 해도 좋구요 ~~ 🥰

4. 🙄 TODO / 고민하고 있는 것들

5. ✅ 배포 Checklist

  • 본인을 Assign 해주세요.
  • 본인을 제외한 백엔드 개발자를 리뷰어로 지정해주세요.

@kpeel5839 kpeel5839 added 🌱기능🌱 새로운 기능을 추가해요 ! 🏋️매튜🏋️ 24기 김재연 labels Jul 5, 2024
@kpeel5839 kpeel5839 requested a review from sectionr0 July 5, 2024 17:35
@kpeel5839 kpeel5839 self-assigned this Jul 5, 2024
Copy link
Contributor

@sectionr0 sectionr0 left a comment

Choose a reason for hiding this comment

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

전체적으로 도메인 설계 잘해주셔서 감사합니다! 제가 남긴 부분 한번 확인해주시면 베리베리 땡큐😊


data class Report(
val type: ReportType,
val reporter: User,
Copy link
Contributor

Choose a reason for hiding this comment

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

targetId 도 추가해주세요! message나 vote의 id 값도 있어야 신고 받았을 떄 추적하기 더 쉬울 것 같아요!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

아 그 타겟 id 였군요~! 추가하도록 하겠습니당

val content: String,
val isRead: Boolean,
val readAt: LocalDateTime,
val isEnabled: Boolean,
Copy link
Contributor

Choose a reason for hiding this comment

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

isEnabled 는 어떤 것일까요?!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

이거는 새로 추가된 알림 비활성화에요! 사용자가 클릭 못하게 하는 것!

@@ -0,0 +1,4 @@
package com.wespot.school

enum class EstType { // TODO : 이 부분은 같이 이야기하면서 구체화 해나가 보시죠!
Copy link
Contributor

Choose a reason for hiding this comment

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

EstType이 국립인지 공립, 사립 구분이여서 이 내용 도메인에서 제거하는거 어떠신가요?

@@ -0,0 +1,4 @@
package com.wespot.school

enum class SchoolType { // TODO : 이 부분은 같이 이야기하면서 구체화 해나가 보시죠!
Copy link
Contributor

Choose a reason for hiding this comment

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

이 부분 없어도 될 것 같아요!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

EstType, SchoolType 둘 다 wespotERD 따라서 진행하기는 했는데, 그래서 저도 감이 안왔거든요.

그래서 말씀하신대로 지우는게 좋을 것 같아요

val id: Long,
val school: School,
val grade: Int,
val group: Int,
Copy link
Contributor

Choose a reason for hiding this comment

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

group 이 반을 의미를 하는거죠? class는 어떠신가요?!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

class 하려다가... class는 키워드라서..

Copy link
Contributor

Choose a reason for hiding this comment

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

헛 그러네요! group 으로 가시죠!

Copy link
Contributor

@sectionr0 sectionr0 left a comment

Choose a reason for hiding this comment

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

너무 고생하셨어요!! 앞으로 개발 쭉 가시죠!

@github-actions github-actions bot added the 🌟머지 해주세요🌟 머지해주셔! label Jul 6, 2024
@kpeel5839 kpeel5839 merged commit 2d1bb09 into develop Jul 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟머지 해주세요🌟 머지해주셔! 🌱기능🌱 새로운 기능을 추가해요 ! 🏋️매튜🏋️ 24기 김재연
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants