-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
38 additions
and
19 deletions.
There are no files selected for viewing
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
4 changes: 4 additions & 0 deletions
4
android/app/src/main/java/com/happy/friendogly/data/model/ChatRoomDto.kt
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
package com.happy.friendogly.data.model | ||
|
||
import java.time.LocalDateTime | ||
|
||
data class ChatRoomDto( | ||
val chatRoomId: Long, | ||
val clubName: String, | ||
val memberCount: Int, | ||
val clubImageUrl: String? = null, | ||
val recentMessage: String?, | ||
val recentMessageCreatedAt: LocalDateTime?, | ||
) |
4 changes: 4 additions & 0 deletions
4
android/app/src/main/java/com/happy/friendogly/domain/model/ChatRoom.kt
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
package com.happy.friendogly.domain.model | ||
|
||
import java.time.LocalDateTime | ||
|
||
data class ChatRoom( | ||
val chatRoomId: Long, | ||
val clubName: String, | ||
val memberCount: Int, | ||
val clubImageUrl: String? = null, | ||
val recentMessage: String?, | ||
val recentMessageCreatedAt: LocalDateTime?, | ||
) |
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
9 changes: 7 additions & 2 deletions
9
android/app/src/main/java/com/happy/friendogly/remote/model/response/ChatRoomResponse.kt
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 |
---|---|---|
@@ -1,11 +1,16 @@ | ||
package com.happy.friendogly.remote.model.response | ||
|
||
import com.happy.friendogly.remote.util.JavaLocalDateTimeSerializer | ||
import kotlinx.serialization.Serializable | ||
import java.time.LocalDateTime | ||
|
||
@Serializable | ||
data class ChatRoomResponse( | ||
val chatRoomId: Long, | ||
val clubName: String, | ||
val memberCount: Int, | ||
val clubImageUrl: String? = null, | ||
val title: String, | ||
val imageUrl: String? = null, | ||
val recentMessage: String?, | ||
@Serializable(with = JavaLocalDateTimeSerializer::class) | ||
val recentMessageCreatedAt: LocalDateTime?, | ||
) |
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