package com.ruoyi.post.controller.resp;

import com.ruoyi.vo.UserInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author liwenlong
 *
 */
@Data
public class PostCommentResp {


    @ApiModelProperty(value = "评论id")
    private Long id;

    @ApiModelProperty(value = "上级评论id")
    private Long parentId;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "点赞数")
    private Integer likeNum;

    @ApiModelProperty(value = "评论数")
    private Integer commentNum;

    @ApiModelProperty(value = "是否点赞1没有 2点赞")
    private Integer isLike;


    @ApiModelProperty(value = "评论时间")
    private Date createTime;

    @ApiModelProperty("顶级评论id")
    private Long topId;

    @ApiModelProperty("用户类型")
    private Integer userType;

    @ApiModelProperty("评论用户id")
    private Long userId;


    @ApiModelProperty(value = "评论用户信息")
    private UserInfo userInfo;

    @ApiModelProperty("用户类型")
    private Integer parentUserType;

    @ApiModelProperty("上级评论用户id")
    private Long parentUserId;

    @ApiModelProperty(value = "上级评论用户信息")
    private UserInfo parentUserInfo;


}
