admin
2020-12-19 37f89b3118620daa2277e227c2abdb574496ef56
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
package com.ks.daylucky.pojo.VO;
 
import com.ks.daylucky.pojo.DTO.ActivityJoinConditionEvent;
import com.ks.daylucky.pojo.VO.common.JumpDetailVO;
 
import java.util.List;
 
/**
 * 活动详情
 */
public class ActivityDetailVO {
    /**
     * activity : {"id":123,"name":"测试活动名称","poster":"封面图片链接","leftTime":18584455,"labels":[{"content":"","color":"#ff0000"}],"helpLink":"帮助中心链接","sponsor":{"id":13123,"icon":"赞助商的图标","name":"赞助商的名称"},"awardList":[{"id":123,"typeIcon":"类型图标链接","title":"奖品名称","link":"详情链接"}],"sponsorAd":{"icon":"广告图标","title":"广告名称","label":{},"content":"广告内容","jump":{"jumpType":"lifeFollow","showName":"收藏直播间","jumpParams":{"sceneId":"48a5df949dd5406193dcdba81f0bb9fd"}}}}
     * joinCondition : {"conditionsDesc":["",""],"conditions":[{"eventType":"lifeFollow"}],"marks":"备注"}
     * openConditions : {"conditions":["",""],"marks":"备注"}
     * userList : [{"id":1,"portrait":"头像"}]
     * totalJoinNumerDesc : 参与人数量描述
     * joined : false
     * stateInfo : {"title":"状态信息的标题","subTitle":"状态信息副标题","drawnInfo":{"award":{"id":123,"typeIcon":"类型图标链接","title":"奖品名称","link":"详情链接"},"subTitle":"中奖的副标题"}}
     */
    //活动详情
    private ActivityBean activity;
    //加入条件
    private ActivityBean.JoinConditionBean joinCondition;
    //开奖条件
    private ActivityBean.OpenConditionsBean openConditions;
    //总共参与人员信息
    private String totalJoinNumerDesc;
    //是否参加
    private Boolean joined;
    //状态
    private ActivityBean.StateInfoBean stateInfo;
    //参与者列表
    private List<SimpleUser> userList;
 
    //帮助链接
    private String helpLink;
 
    //标签
    private List<LabelVO> labels;
 
    //助力进度
    private Integer assistCount;
 
    //开奖时间
    private String actualOpenDate;
 
    //赞助商的其他活动
    private Integer sponsorActivityCount;
 
    //分享信息
    private ActivityShareInfoVO shareInfo;
 
 
    public ActivityShareInfoVO getShareInfo() {
        return shareInfo;
    }
 
    public void setShareInfo(ActivityShareInfoVO shareInfo) {
        this.shareInfo = shareInfo;
    }
 
    public Integer getSponsorActivityCount() {
        return sponsorActivityCount;
    }
 
    public void setSponsorActivityCount(Integer sponsorActivityCount) {
        this.sponsorActivityCount = sponsorActivityCount;
    }
 
    public String getActualOpenDate() {
        return actualOpenDate;
    }
 
    public void setActualOpenDate(String actualOpenDate) {
        this.actualOpenDate = actualOpenDate;
    }
 
    public Integer getAssistCount() {
        return assistCount;
    }
 
    public void setAssistCount(Integer assistCount) {
        this.assistCount = assistCount;
    }
 
    public List<LabelVO> getLabels() {
        return labels;
    }
 
    public void setLabels(List<LabelVO> labels) {
        this.labels = labels;
    }
 
    public Boolean getJoined() {
        return joined;
    }
 
    public String getHelpLink() {
        return helpLink;
    }
 
    public void setHelpLink(String helpLink) {
        this.helpLink = helpLink;
    }
 
    public ActivityBean getActivity() {
        return activity;
    }
 
    public void setActivity(ActivityBean activity) {
        this.activity = activity;
    }
 
    public ActivityBean.JoinConditionBean getJoinCondition() {
        return joinCondition;
    }
 
    public void setJoinCondition(ActivityBean.JoinConditionBean joinCondition) {
        this.joinCondition = joinCondition;
    }
 
    public ActivityBean.OpenConditionsBean getOpenConditions() {
        return openConditions;
    }
 
    public void setOpenConditions(ActivityBean.OpenConditionsBean openConditions) {
        this.openConditions = openConditions;
    }
 
    public String getTotalJoinNumerDesc() {
        return totalJoinNumerDesc;
    }
 
    public void setTotalJoinNumerDesc(String totalJoinNumerDesc) {
        this.totalJoinNumerDesc = totalJoinNumerDesc;
    }
 
    public Boolean isJoined() {
        return joined;
    }
 
    public void setJoined(Boolean joined) {
        this.joined = joined;
    }
 
    public ActivityBean.StateInfoBean getStateInfo() {
        return stateInfo;
    }
 
    public void setStateInfo(ActivityBean.StateInfoBean stateInfo) {
        this.stateInfo = stateInfo;
    }
 
    public List<SimpleUser> getUserList() {
        return userList;
    }
 
    public void setUserList(List<SimpleUser> userList) {
        this.userList = userList;
    }
 
    public static class ActivityBean {
        /**
         * id : 123
         * name : 测试活动名称
         * poster : 封面图片链接
         * leftTime : 18584455
         * labels : [{"content":"","color":"#ff0000"}]
         * helpLink : 帮助中心链接
         * sponsor : {"id":13123,"icon":"赞助商的图标","name":"赞助商的名称"}
         * awardList : [{"id":123,"typeIcon":"类型图标链接","title":"奖品名称","link":"详情链接"}]
         * sponsorAd : {"icon":"广告图标","title":"广告名称","label":{},"content":"广告内容","jump":{"jumpType":"lifeFollow","showName":"收藏直播间","jumpParams":{"sceneId":"48a5df949dd5406193dcdba81f0bb9fd"}}}
         */
 
        private Long id;
        private String name;
        private String poster;
        private Long leftTime;
 
        private SponsorVO sponsor;
        private SponsorAdBean sponsorAd;
 
        private List<ActivityAwardVO> awardList;
 
        //获取期号
        private String dateNumber;
 
        public String getDateNumber() {
            return dateNumber;
        }
 
        public void setDateNumber(String dateNumber) {
            this.dateNumber = dateNumber;
        }
 
        public Long getId() {
            return id;
        }
 
        public void setId(Long id) {
            this.id = id;
        }
 
        public String getName() {
            return name;
        }
 
        public void setName(String name) {
            this.name = name;
        }
 
        public String getPoster() {
            return poster;
        }
 
        public void setPoster(String poster) {
            this.poster = poster;
        }
 
        public Long getLeftTime() {
            return leftTime;
        }
 
        public void setLeftTime(Long leftTime) {
            this.leftTime = leftTime;
        }
 
        public SponsorVO getSponsor() {
            return sponsor;
        }
 
        public void setSponsor(SponsorVO sponsor) {
            this.sponsor = sponsor;
        }
 
        public SponsorAdBean getSponsorAd() {
            return sponsorAd;
        }
 
        public void setSponsorAd(SponsorAdBean sponsorAd) {
            this.sponsorAd = sponsorAd;
        }
 
        public List<ActivityAwardVO> getAwardList() {
            return awardList;
        }
 
        public void setAwardList(List<ActivityAwardVO> awardList) {
            this.awardList = awardList;
        }
 
        public static class SponsorAdBean {
            /**
             * icon : 广告图标
             * title : 广告名称
             * label : {}
             * content : 广告内容
             * jump : {"jumpType":"lifeFollow","showName":"收藏直播间","jumpParams":{"sceneId":"48a5df949dd5406193dcdba81f0bb9fd"}}
             */
 
            private String icon;
            private String title;
            private LabelVO label;
            private String content;
            private JumpDetailVO jump;
 
            public String getIcon() {
                return icon;
            }
 
            public void setIcon(String icon) {
                this.icon = icon;
            }
 
            public String getTitle() {
                return title;
            }
 
            public void setTitle(String title) {
                this.title = title;
            }
 
            public LabelVO getLabel() {
                return label;
            }
 
            public void setLabel(LabelVO label) {
                this.label = label;
            }
 
            public String getContent() {
                return content;
            }
 
            public void setContent(String content) {
                this.content = content;
            }
 
            public JumpDetailVO getJump() {
                return jump;
            }
 
            public void setJump(JumpDetailVO jump) {
                this.jump = jump;
            }
 
        }
 
 
        public static class JoinConditionBean {
            /**
             * conditionsDesc : ["",""]
             * conditions : [{"eventType":"lifeFollow"}]
             * marks : 备注
             */
 
            private String marks;
            private List<String> conditionsDesc;
            private List<ActivityJoinConditionEvent> conditions;
 
            public String getMarks() {
                return marks;
            }
 
            public void setMarks(String marks) {
                this.marks = marks;
            }
 
            public List<String> getConditionsDesc() {
                return conditionsDesc;
            }
 
            public void setConditionsDesc(List<String> conditionsDesc) {
                this.conditionsDesc = conditionsDesc;
            }
 
            public List<ActivityJoinConditionEvent> getConditions() {
                return conditions;
            }
 
            public void setConditions(List<ActivityJoinConditionEvent> conditions) {
                this.conditions = conditions;
            }
        }
 
        public static class OpenConditionsBean {
            /**
             * conditions : ["",""]
             * marks : 备注
             */
 
            private String marks;
            private List<String> conditions;
 
            public String getMarks() {
                return marks;
            }
 
            public void setMarks(String marks) {
                this.marks = marks;
            }
 
            public List<String> getConditions() {
                return conditions;
            }
 
            public void setConditions(List<String> conditions) {
                this.conditions = conditions;
            }
        }
 
        public static class StateInfoBean {
            /**
             * title : 状态信息的标题
             * subTitle : 状态信息副标题
             * drawnInfo : {"award":{"id":123,"typeIcon":"类型图标链接","title":"奖品名称","link":"详情链接"},"subTitle":"中奖的副标题"}
             */
 
            private String title;
            private String subTitle;
            private DrawnInfoBean drawnInfo;
 
            public String getTitle() {
                return title;
            }
 
            public void setTitle(String title) {
                this.title = title;
            }
 
            public String getSubTitle() {
                return subTitle;
            }
 
            public void setSubTitle(String subTitle) {
                this.subTitle = subTitle;
            }
 
            public DrawnInfoBean getDrawnInfo() {
                return drawnInfo;
            }
 
            public void setDrawnInfo(DrawnInfoBean drawnInfo) {
                this.drawnInfo = drawnInfo;
            }
 
            public static class DrawnInfoBean {
                /**
                 * award : {"id":123,"typeIcon":"类型图标链接","title":"奖品名称","link":"详情链接"}
                 * subTitle : 中奖的副标题
                 */
 
                private ActivityAwardVO award;
                private String subTitle;
 
                public ActivityAwardVO getAward() {
                    return award;
                }
 
                public void setAward(ActivityAwardVO award) {
                    this.award = award;
                }
 
                public String getSubTitle() {
                    return subTitle;
                }
 
                public void setSubTitle(String subTitle) {
                    this.subTitle = subTitle;
                }
            }
        }
    }
}