This commit is contained in:
linfeng 2023-12-05 09:22:26 +08:00
parent 805d2abb73
commit 1721c84604
3 changed files with 12 additions and 91 deletions

View File

@ -1,89 +0,0 @@
/**
* -----------------------------------
* 林风社交论坛开源版本请务必保留此注释头信息
* 开源地址: https://gitee.com/virus010101/linfeng-community
* 商业版详情查看: https://www.linfeng.tech
* 商业版购买联系技术客服 QQ: 3582996245
* 可正常分享和学习源码不得转卖或非法牟利
* Copyright (c) 2021-2023 linfeng all rights reserved.
* 版权所有 侵权必究
* -----------------------------------
*/
package io.linfeng.common.vo;
import com.baomidou.mybatisplus.annotation.TableId;
import io.linfeng.modules.admin.entity.AppUserEntity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
*
*
* @author linfeng
* @email 3582996245@qq.com
* @date 2022-01-25 18:51:22
*/
@Data
public class AppChildrenCommentResponse implements Serializable {
private static final long serialVersionUID = 1L;
/**
* id
*/
@TableId
private Long id;
/**
* 父级id
*/
private Integer pid;
/**
* 评论类型:1帖子
*/
private Integer type;
/**
* 评论作者ID
*/
private Long uid;
/**
* 被回复用户ID
*/
private Integer toUid;
/**
* 评论帖子ID
*/
private Long postId;
/**
* 评论内容
*/
private String content;
/**
* 评论状态
*/
private Integer status;
/**
* 创建时间
*/
private Date createTime;
/**
* 被回复用户信息
*/
private AppUserEntity toUser;
/**
* 评论用户信息
*/
private AppUserEntity userInfo;
/**
* 点赞数
*/
private Integer thumbs;
/**
* 评论是否点赞
*/
private Boolean isThumbs;
}

View File

@ -35,10 +35,12 @@ public class AppCommentResponse implements Serializable {
*/
@TableId
private Long id;
/**
* 父级id
*/
private Integer pid;
/**
* 评论类型:1帖子
*/
@ -47,22 +49,27 @@ public class AppCommentResponse implements Serializable {
* 评论作者ID
*/
private Long uid;
/**
* 被回复用户ID
*/
private Integer toUid;
/**
* 评论帖子ID
*/
private Long postId;
/**
* 评论内容
*/
private String content;
/**
* 评论状态
*/
private Integer status;
/**
* 创建时间
*/
@ -71,7 +78,7 @@ public class AppCommentResponse implements Serializable {
/**
* 子评论
*/
private List<AppChildrenCommentResponse> children;
private List<Object> children;
/**
* 评论用户信息

View File

@ -39,12 +39,12 @@ public class AppUserRankResponse implements Serializable {
* 头像
*/
private String avatar;
/**
* 性别(0未知1男2女)
*/
private Integer gender;
/**
* 个性签名
*/
@ -55,6 +55,9 @@ public class AppUserRankResponse implements Serializable {
*/
private String tagStr;
/**
* 贴子数
*/
private Integer postNumber;
}