feat(chat): 채팅방 목록 응답 모델을 추가한다

This commit is contained in:
2026-06-09 23:14:19 +09:00
parent 7acc7b51b6
commit 972d225a86

View File

@@ -0,0 +1,21 @@
package kr.co.vividnext.sodalive.v2.main.chat.data
import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName
@Keep
data class ChatRoomListPageResponse(
@SerializedName("rooms") val rooms: List<ChatRoomListItemResponse>,
@SerializedName("hasMore") val hasMore: Boolean,
@SerializedName("nextCursor") val nextCursor: String?
)
@Keep
data class ChatRoomListItemResponse(
@SerializedName("roomId") val roomId: Long,
@SerializedName("chatType") val chatType: String,
@SerializedName("targetName") val targetName: String,
@SerializedName("targetImageUrl") val targetImageUrl: String,
@SerializedName("lastMessage") val lastMessage: String,
@SerializedName("lastMessageAt") val lastMessageAt: String
)