Files
rider-pro-android-app/app/src/main/java/com/aiosman/riderpro/model/MomentItem.kt

22 lines
527 B
Kotlin
Raw Normal View History

2024-07-23 15:25:00 +08:00
package com.aiosman.riderpro.model
2024-06-22 04:25:20 +08:00
import androidx.annotation.DrawableRes
2024-07-23 15:25:00 +08:00
import com.aiosman.riderpro.R
2024-06-22 04:25:20 +08:00
data class MomentItem(
val id: Int,
2024-07-29 00:01:09 +08:00
val avatar: String,
2024-06-22 04:25:20 +08:00
val nickname: String,
val location: String,
val time: String,
val followStatus: Boolean,
val momentTextContent: String,
@DrawableRes val momentPicture: Int,
val likeCount: Int,
val commentCount: Int,
val shareCount: Int,
2024-07-28 15:07:08 +08:00
val favoriteCount: Int,
2024-07-29 00:01:09 +08:00
val images: List<String> = emptyList(),
val authorId: Int = 0
2024-06-22 04:25:20 +08:00
)