ContentDetailModel.ets
4.44 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
import { AuthorListDTO, FullColumnImgUrlDTO, ReLInfoDTO, RmhInfoDTO, ShareInfoDTO,
UserInfoDTO,
VideoInfoDTO } from 'wdBean';
@Observed
export class ContentDetailModel{
newsId: number = 0;
newsTitle: string = "";
newsShortTitle: string= "";
newsDownTitle: string= "";
newsBodyTitle: string= "";
publishTime: string= "";
appstyle: number= 0;
newsType: number= 0;
newsSummary: string= "";
newsSource: string= "";
newsSourceName: string= "";
newsContent: string= "";
newsContentBak: string= "";
newsLinkUrl: string="";
bestNoticer: number= 0;
// newLinkObject?: any = null;
newIntroduction: string= "";
authorList: AuthorListDTO[]=[];
editorName: string="";
openAudio: number= 0;
// audioList: any[];
// hasPopUp?: any;
// popUps?: any[];
firstFrameImageUri: string= "";
reLInfo?: ReLInfoDTO | null = null;
fullColumnImgUrls: FullColumnImgUrlDTO[]=[];
shareInfo?: ShareInfoDTO | null = null;
// photoList: any[];
videoInfo: VideoInfoDTO[]=[];
// liveInfo?: any ;
// voteInfo?: any;
rmhInfo?: RmhInfoDTO | null = null;
userInfo?: UserInfoDTO | null = null;
openLikes: number= 0;
openComment: number= 0;
likesStyle: number= 0;
preCommentFlag: number= 0;
commentDisplay: number= 0;
keyArticle: number= 0;
rmhPlatform: number= 0;
readFlag?: number= 0;
// topicInfo?: any;
traceId: string= "";
itemId: string= "";
sceneId: string= "";
subSceneId: string= "";
// activityInfos: any[]=[];
recommendShow: number= 0;
visitorComment: number= 0;
itemTypeCode: string= "";
menuShow: number= 0;
newsTags: string= "";
// specialColumnId?: any;
specialColumnName: string= "";
// timeline?: any;
constructor(newsId: number, newsTitle: string, newsShortTitle: string, newsDownTitle: string, newsBodyTitle: string,
publishTime: string, appstyle: number, newsType: number, newsSummary: string, newsSource: string,
newsSourceName: string, newsContent: string, newsContentBak: string, newsLinkUrl: string, bestNoticer: number,
newIntroduction: string, authorList: AuthorListDTO[], editorName: string, openAudio: number,
firstFrameImageUri: string,fullColumnImgUrls: FullColumnImgUrlDTO[], videoInfo: VideoInfoDTO[],
openLikes: number, openComment: number, likesStyle: number, preCommentFlag: number,
commentDisplay: number, keyArticle: number, rmhPlatform: number, readFlag: number, traceId: string,
itemId: string, sceneId: string, subSceneId: string, recommendShow: number,
visitorComment: number, itemTypeCode: string, menuShow: number, newsTags: string,
specialColumnName: string, traceInfo: string, viewCount: number, isNewspaper: boolean, oldNewsId: string,
showTime: boolean, isLogin: string) {
this.newsId = newsId;
this.newsTitle = newsTitle;
this.newsShortTitle = newsShortTitle;
this.newsDownTitle = newsDownTitle;
this.newsBodyTitle = newsBodyTitle;
this.publishTime = publishTime;
this.appstyle = appstyle;
this.newsType = newsType;
this.newsSummary = newsSummary;
this.newsSource = newsSource;
this.newsSourceName = newsSourceName;
this.newsContent = newsContent;
this.newsContentBak = newsContentBak;
this.newsLinkUrl = newsLinkUrl;
this.bestNoticer = bestNoticer;
this.newIntroduction = newIntroduction;
this.authorList = authorList;
this.editorName = editorName;
this.openAudio = openAudio;
this.firstFrameImageUri = firstFrameImageUri;
this.fullColumnImgUrls = fullColumnImgUrls;
this.videoInfo = videoInfo;
this.openLikes = openLikes;
this.openComment = openComment;
this.likesStyle = likesStyle;
this.preCommentFlag = preCommentFlag;
this.commentDisplay = commentDisplay;
this.keyArticle = keyArticle;
this.rmhPlatform = rmhPlatform;
this.readFlag = readFlag;
this.traceId = traceId;
this.itemId = itemId;
this.sceneId = sceneId;
this.subSceneId = subSceneId;
this.recommendShow = recommendShow;
this.visitorComment = visitorComment;
this.itemTypeCode = itemTypeCode;
this.menuShow = menuShow;
this.newsTags = newsTags;
this.specialColumnName = specialColumnName;
this.traceInfo = traceInfo;
this.viewCount = viewCount;
this.isNewspaper = isNewspaper;
this.oldNewsId = oldNewsId;
this.showTime = showTime;
this.isLogin = isLogin;
}
traceInfo: string= "";
viewCount: number= 0;
isNewspaper: boolean = false;
oldNewsId: string= "";
// 本地字段
showTime:boolean = false;
isLogin?:string = ""
}