-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] #154 change DTO mapping to Projection-based mapping
- Loading branch information
Showing
13 changed files
with
66 additions
and
62 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
src/main/java/org/kkumulkkum/server/api/meeting/dto/MeetingMetCountDto.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...main/java/org/kkumulkkum/server/api/meeting/dto/projection/MeetingMetCountProjection.java
This file contains 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,11 @@ | ||
package org.kkumulkkum.server.api.meeting.dto.projection; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
public interface MeetingMetCountProjection { | ||
Long getId(); | ||
String getName(); | ||
LocalDateTime getCreatedAt(); | ||
String getInvitationCode(); | ||
Long getMetCount(); | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/org/kkumulkkum/server/api/meeting/dto/projection/MemberProjection.java
This file contains 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,7 @@ | ||
package org.kkumulkkum.server.api.meeting.dto.projection; | ||
|
||
public interface MemberProjection { | ||
Long getMemberId(); | ||
String getName(); | ||
String getProfileImg(); | ||
} |
This file contains 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
15 changes: 0 additions & 15 deletions
15
src/main/java/org/kkumulkkum/server/api/meeting/dto/response/MemberDto.java
This file was deleted.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
src/main/java/org/kkumulkkum/server/api/meeting/dto/response/MembersDto.java
This file contains 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
This file contains 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
12 changes: 6 additions & 6 deletions
12
...ain/java/org/kkumulkkum/server/api/participant/dto/response/AvailableParticipantsDto.java
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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