PublishCommentParameterBean.java
4.12 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
package com.wd.foundation.bean.request;
import com.wd.foundation.bean.base.BaseBean;
/**
* 发布评论入参
* @author baozhaoxin
* @version [V1.0.0, 2024/6/19]
* @since V1.0.0
*/
public class PublishCommentParameterBean extends BaseBean {
private int position;
/**
* 评论内容
*/
private String commentContent;
/**
* 评论类型
* 1.文字 2.文字+表情 3.定制表情(客户端写死) 4.图片
*/
private String commentType;
/**
* 图片
*/
private String commentPics;
/**
* 被评论id
*/
private String targetId;
/**
* 被评论内容类型
* 内容类别,具体后端接口返回 1:点播,2:直播,3:活动,4:广告,5:专题,6:链接,7:榜单,8:图文,9:组图,10:H5新闻,11:频道,12:组件,13:音频,14:动态(13和14为中文版新增)
*/
private String targetType;
/**
* 被评论的内容关系id
*/
private String targetRelId;
/**
* 被评论的内容关系类型,1.频道关系;2.专题关系
*/
private String targetRelType;
/**
* 父评论id,如果是其它评论的回复,该字段必填
*/
private String parentId;
/**
* 根评论id,如果是一级评论,传-1;否则,传当前评论所属的根评论id
*/
private String rootCommentId;
/**
* 内容的标题,取bff内容详情接口中newsTitle字段
*/
private String targetTitle;
/**
* 是否是重点稿件 1是 0否
*/
private String keyArticle;
/**
* 关联的频道id/专题id;
*/
private String targetRelObjectId;
/**
* 是否领导人文章 0 否,1 是,不存在就传0
*/
private String leaderArticle = "0";
public int getPosition() {
return position;
}
public void setPosition(int position) {
this.position = position;
}
public String getCommentContent() {
return commentContent;
}
public void setCommentContent(String commentContent) {
this.commentContent = commentContent;
}
public String getCommentType() {
return commentType;
}
public void setCommentType(String commentType) {
this.commentType = commentType;
}
public String getCommentPics() {
return commentPics;
}
public void setCommentPics(String commentPics) {
this.commentPics = commentPics;
}
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 String getTargetRelId() {
return targetRelId;
}
public void setTargetRelId(String targetRelId) {
this.targetRelId = targetRelId;
}
public String getTargetRelType() {
return targetRelType;
}
public void setTargetRelType(String targetRelType) {
this.targetRelType = targetRelType;
}
public String getParentId() {
return parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public String getRootCommentId() {
return rootCommentId;
}
public void setRootCommentId(String rootCommentId) {
this.rootCommentId = rootCommentId;
}
public String getTargetTitle() {
return targetTitle;
}
public void setTargetTitle(String targetTitle) {
this.targetTitle = targetTitle;
}
public String getKeyArticle() {
return keyArticle;
}
public void setKeyArticle(String keyArticle) {
this.keyArticle = keyArticle;
}
public String getTargetRelObjectId() {
return targetRelObjectId;
}
public void setTargetRelObjectId(String targetRelObjectId) {
this.targetRelObjectId = targetRelObjectId;
}
public String getLeaderArticle() {
return leaderArticle;
}
public void setLeaderArticle(String leaderArticle) {
this.leaderArticle = leaderArticle;
}
}