更新代码

This commit is contained in:
2024-09-11 22:21:10 +08:00
parent 0a2d98a07d
commit 1186e3a8a5
5 changed files with 195 additions and 24 deletions

View File

@@ -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,
)
/**
* 消息关联的用户
*/