package com.ruoyi.post.frequency.postcomment.model.param;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 帖子评论对象 t_post_comment
 * 
 * @author liwenlong
 * @date 2023-10-09
 */
@Data
@Accessors(chain = true)
public class PostCommentParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("租户号")
    private Long id;

    @ApiModelProperty("删除状态 1 正常 2 删除 3 禁用")
    private Integer delFlag;

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

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

    @ApiModelProperty("帖子id")
    @Excel(name = "帖子id")
    private Long postId;

    @ApiModelProperty("顶级评论id(对主体的直接评论)")
    @Excel(name = "顶级评论id(对主体的直接评论)")
    private Long topId;

    @ApiModelProperty("上级评论id 默认0")
    @Excel(name = "上级评论id 默认0")
    private Long parentId;

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

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

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

    @ApiModelProperty("图片")
    @Excel(name = "图片")
    private String image;

    @ApiModelProperty("点赞数")
    @Excel(name = "点赞数")
    private Long likeNum;

    @ApiModelProperty("评论数")
    @Excel(name = "评论数")
    private Long commentNum;

    @ApiModelProperty("上级评论id集合，逗号拼接")
    @Excel(name = "上级评论id集合，逗号拼接")
    private String parentIds;














}
