-
Notifications
You must be signed in to change notification settings - Fork 0
#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
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
ea19f69
feat: School Domain 객체 추가
kpeel5839 93dd8c0
feat: User Domain 추가
kpeel5839 2256708
feat: Message Domain 추가
kpeel5839 3a68af0
feat: Notification Domain 추가
kpeel5839 ae624bf
feat: Report Domain 추가
kpeel5839 2ac9fc8
feat: VoteOption Domain 추가
kpeel5839 a704a25
feat: Vote Domain 추가
kpeel5839 221ef0b
feat: Message Core, Infra 추가
kpeel5839 6115871
feat: Notification Core, Infra 추가
kpeel5839 dc65fe6
feat: Vote Core, Infra 추가
kpeel5839 b42a904
feat: User Core, Infra 추가
kpeel5839 c834dbe
feat: School Vote, Infra 추가
kpeel5839 231d715
feat: Notification Vote, Infra 추가
kpeel5839 fdd5035
feat: Report Vote, Infra 추가
kpeel5839 7de3d19
feat: Message Vote, Infra 추가
kpeel5839 b41bad7
feat: Ballot Vote, Infra 추가
kpeel5839 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.wespot.report | ||
|
||
import com.wespot.user.User | ||
|
||
data class Report( | ||
val type: ReportType, | ||
val reporter: User, | ||
val reported: User, | ||
val isApprove: Boolean | ||
) { | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.wespot.report | ||
|
||
enum class ReportType { | ||
MESSAGE, VOTE | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
targetId 도 추가해주세요! message나 vote의 id 값도 있어야 신고 받았을 떄 추적하기 더 쉬울 것 같아요!
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.
아 그 타겟 id 였군요~! 추가하도록 하겠습니당