CommentLikeParameterBean.java
2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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;
}
}