feat(chat): 채팅방 필터 모델을 추가한다

This commit is contained in:
2026-06-10 11:05:39 +09:00
parent 89837877a2
commit 4c351da60c
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package kr.co.vividnext.sodalive.v2.main.chat.model
enum class ChatRoomFilter(val apiValue: String) {
ALL("ALL"),
AI("AI"),
DM("DM");
companion object {
fun fromTabIndex(index: Int): ChatRoomFilter = when (index) {
1 -> AI
2 -> DM
else -> ALL
}
}
}