CommentLikeParameterBean.java 2.05 KB
package com.wd.foundation.bean.request;

import com.wd.foundation.bean.base.BaseBean;

/**
 * 评论点赞入参bean
 * @author baozhaoxin
 * @version [V1.0.0, 2024/7/4]
 * @since V1.0.0
 */
public class CommentLikeParameterBean extends BaseBean {
    private int position;

    /**
     * 评论的uuid,必填,如果commentId=0或者不存在,就传commentId=0
     */
    private String uuid;

    /**
     * 被点赞的评论ID
     */
    private String commentId;

    /**
     * 被点赞的内容ID
     */
    private String targetId;

    /**
     * 内容类别,1:点播,2:直播,3:活动,4:广告,5:专题,6:链接,7:榜单,8:图文,9:组图,10:H5新闻,11:频道,12:组件,
     * 13:音频,14:动态(13和14为中文版新增)
     */
    private String targetType;

    /**
     * 点赞状态 0:取消点赞 1:点赞
     */
    private int status;

    /**
     * 顶级评论id,只有当被点赞的评论是子评论时才需要传,否则传空
     */
    private int rootCommentId;

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getRootCommentId() {
        return rootCommentId;
    }

    public void setRootCommentId(int rootCommentId) {
        this.rootCommentId = rootCommentId;
    }
}