整理代码
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
package com.aiosman.riderpro.model
|
||||
|
||||
import androidx.annotation.DrawableRes
|
||||
import java.util.Date
|
||||
|
||||
data class MomentImageEntity(
|
||||
val id: Long,
|
||||
val url: String,
|
||||
val thumbnail: String,
|
||||
val blurHash: String? = null
|
||||
)
|
||||
|
||||
data class MomentEntity(
|
||||
val id: Int,
|
||||
val avatar: String,
|
||||
val nickname: String,
|
||||
val location: String,
|
||||
val time: Date,
|
||||
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<MomentImageEntity> = emptyList(),
|
||||
val authorId: Int = 0,
|
||||
var liked: Boolean = false,
|
||||
var relPostId: Int? = null,
|
||||
var relMoment: MomentEntity? = null,
|
||||
var isFavorite: Boolean = false
|
||||
)
|
||||
Reference in New Issue
Block a user