CompAdvBean.java
2.95 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
package com.wd.foundation.bean.adv;
import com.wd.foundation.bean.base.BaseBean;
/**
* @Description: 广告组件数据
* @Author: Li Yubing
* @Email: liyubing@wondert.com.cn
* @CreateDate: 2023/10/26 13:49
* @Version: 1.0
*/
public class CompAdvBean extends BaseBean {
private int id;// 广告订单id
private long startTime;// 投放开始时间
private long endTime;// 投放结束时间
private CompAdvMatInfoBean matInfo;// 信息流广告素材
private CompAdvSlotInfoBean slotInfo;// 信息流广告位
/**
* 展示优先级
* 广告A,displayPriority=1
* 广告B,displayPriority=2
* 则打开页面时,挂角展示顺序 A->B (优先级升序排列)
*/
private int displayPriority;
/**
* 展示的次数
*/
private int showCount = -1;
/**
* 页面id
*/
private String pageId;
/**
* 开屏广告-显示时长
*/
private String displayDuration;
/**
* 开屏广告-展示轮数
* 2.launchAdInfo有多个时:
* 广告A,displayRound=10
* 广告B,displayRound=5,
* 每次开机屏展示广告概率
* 广告A=10/(10+5)
* 广告B=5/(10+5)
* 广告A展示10次后,不再展示,
* 广告B展示5此后,不再展示。
* 下一轮展示继续上面逻辑。
*/
private int displayRound;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public long getStartTime() {
return startTime;
}
public void setStartTime(long startTime) {
this.startTime = startTime;
}
public long getEndTime() {
return endTime;
}
public void setEndTime(long endTime) {
this.endTime = endTime;
}
public CompAdvMatInfoBean getMatInfo() {
return matInfo;
}
public void setMatInfo(CompAdvMatInfoBean matInfo) {
this.matInfo = matInfo;
}
public CompAdvSlotInfoBean getSlotInfo() {
return slotInfo;
}
public void setSlotInfo(CompAdvSlotInfoBean slotInfo) {
this.slotInfo = slotInfo;
}
public int getDisplayPriority() {
return displayPriority;
}
public void setDisplayPriority(int displayPriority) {
this.displayPriority = displayPriority;
}
public int getShowCount() {
return showCount;
}
public void setShowCount(int showCount) {
this.showCount = showCount;
}
public String getPageId() {
return pageId;
}
public void setPageId(String pageId) {
this.pageId = pageId;
}
public String getDisplayDuration() {
return displayDuration;
}
public void setDisplayDuration(String displayDuration) {
this.displayDuration = displayDuration;
}
public int getDisplayRound() {
return displayRound;
}
public void setDisplayRound(int displayRound) {
this.displayRound = displayRound;
}
}