更新代码
This commit is contained in:
@@ -14,11 +14,15 @@ import java.util.Date
|
||||
*/
|
||||
data class AccountLikeEntity(
|
||||
// 动态
|
||||
val post: NoticePostEntity,
|
||||
val post: NoticePostEntity?,
|
||||
// 回复评论
|
||||
val comment: NoticeCommentEntity?,
|
||||
// 点赞用户
|
||||
val user: NoticeUserEntity,
|
||||
// 点赞时间
|
||||
val likeTime: Date,
|
||||
// 动态ID
|
||||
val postId: Int
|
||||
)
|
||||
|
||||
/**
|
||||
@@ -71,6 +75,19 @@ data class NoticePostEntity(
|
||||
val time: Date,
|
||||
)
|
||||
|
||||
data class NoticeCommentEntity(
|
||||
// 评论ID
|
||||
val id: Int,
|
||||
// 评论内容
|
||||
val content: String,
|
||||
// 评论时间
|
||||
val time: Date,
|
||||
// 引用评论
|
||||
val replyComment: NoticeCommentEntity?,
|
||||
// 动态
|
||||
val postId: Int,
|
||||
)
|
||||
|
||||
/**
|
||||
* 消息关联的用户
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user