AskItemDetail.java
4.58 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
package com.wd.foundation.bean.convenience;
import com.wd.foundation.bean.base.BaseBean;
import com.wd.foundation.bean.mail.ShareInfo;
import com.wd.foundation.wdkitcore.tools.StringUtils;
import java.util.List;
/**
* 问政-留言详情
* 主态 客态
* @author wd
* @version [V1.0.0, 2023/9/14]
* @since V1.0.0
*/
public class AskItemDetail extends BaseBean {
public long askId;// Long必须 留言id(ask_info表主键id)
public String realAskId;// string必须 留言系统真实留言ID(见备注)
public String createDateline;// string必须 留言时间(创建)
public int stateInfo;// integer必须 留言状态:1.待处理|2.待回复|3.办理中|4.已办理|5.未展示
public String typeId;// string必须 留言分类id
public String typeName;// string必须 留言分类名称
public String domainId;// string必须 留言领域id
public String domainName;// string必须 留言领域名称
public int position;// integer非必须 留言级别 0地方 1部委;默认0
public String title;// string必须 留言标题
public String content;// string必须 留言内容
public String fid;// string必须 留言板块id
public String forumName;// string必须 留言板块名称
public String threadPlace;// string非必须 留言发生地
public int threadPlacePublic;// integer非必须 留言发生地是否公开;0:否,1:是;默认0
public int traceState;// integer必须0:待回复;1:已回复待评价;2:一次评价待审核;3:一次评价待解释;11:已解释待评价;12:二次评价待审核;13:二次评价待解释;21:已解释
public int canFeedback;// integer非必须 是否可以进行评价:0:否,1:是;默认0
public int markState;// integer非必须 评价是否结束,评价结束后将不能评价 1:已结束,0:未结束
public int publicState;// integer必须 公开标记 0:非公开 1:公开;默认1
public List<AttachmentList> attachmentList;//附件列表
public List<AnswerList> answerList;//回复详情对象列表;【只有一级】
public List<FeedbackList> feedbackList;//评价对象list,按list顺序依次为一次评价,二次评价
//客态新增字段开始
public long newsId;// Long必须 留言id(ask_info表主键id)
public String newsType;// string必须默认16问政
public String updateTime;// number必须 更新时间
public String relAskId;// string必须
public String openLikes;// string必须【默认开启】内容用 是否开启点赞 1是 0否;
public String openComment;// string必须【默认开启】内容用 是否开启评论 1是 0否
public String likesStyle;// string必须内容用 点赞样式 1红心(点赞)
public String preCommentFlag;// string必须【默认预显】内容用 内容预评论显示开关;1显示 0隐藏
public String commentDisplay;// string必须【留言默认显示】内容用 评论展示:仅入口不展示,不能回复,但是展示评论记录 1:显示 2 隐藏
public String keyArticle;// integer必须【留言默认否】是否是重点稿件 0否 1是
/**
* 是否领导人文章 0 否,1 是,不存在就传0
*/
public String leaderArticle = "0";
public ShareInfo shareInfo;//分享信息
//客态新增字段结束
public String localFieldCollectStatus;//本地字段 收藏状态 0未收藏、1已收藏
public String localFieldLikeStatus;//本地字段 点赞状态 0未点赞 1已点赞
//来源 0 CMS ,1 人民号
public int rmhPlatform;
public String channelId;
/**
* 游客评论开关:visitorComment 1:打开;0:关闭
*/
private String visitorComment;
/**
* 频道、专题页关系id;【纯稿件样式存在;展现中心组件编排时可能存在;其他场景可能为空】
*/
private String relId;
/**
* 关系类型:1.频道关系;2.专题关系;【同上】
*/
private int relType = 0;
public long getAskId(){
if (askId==0){
askId = newsId;
}
return askId;
}
public int getVisitorComment() {
return StringUtils.isEqual("1",visitorComment) ? 1 : 0;
}
public void setVisitorComment(String visitorComment) {
this.visitorComment = visitorComment;
}
public String getRelId() {
return relId;
}
public void setRelId(String relId) {
this.relId = relId;
}
public int getRelType() {
return relType;
}
public void setRelType(int relType) {
this.relType = relType;
}
}