This commit is contained in:
2024-08-11 17:15:17 +08:00
parent 2dc0ee3307
commit 19527f17c3
32 changed files with 1082 additions and 417 deletions

View File

@@ -0,0 +1,24 @@
package com.aiosman.riderpro.model
import androidx.annotation.DrawableRes
data class MomentEntity(
val id: Int,
val avatar: String,
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,
val favoriteCount: Int,
val images: List<String> = emptyList(),
val authorId: Int = 0,
var liked: Boolean = false,
var relPostId: Int? = null,
var relMoment: MomentEntity? = null,
var isFavorite: Boolean = false
)