SMSLogs.java
6.05 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
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
package com.model;
import java.util.Date;
/**
* Created by yoho on 2016/11/29.
*/
public class SMSLogs {
/**
* 日志表主键ID
*/
private Integer id;
/**
* 模板ID
*/
private Integer templateId;
/**
* 模板名称
*/
private String templateName;
/**
* ip地址
*/
private String ip;
/**
* 国家或者地区码
*/
private String area;
/**
* 手机号码
*/
private String mobile;
/**
* 创建时间
*/
private Date createTime;
/**
* 修改时间
*/
private Date updateTime;
/**
* 管理状态:0-初始状态,1-发送成功,2-模版不存在,3-短信服务商不存在,4-发送失败
*/
private Integer manageStatus;
/**
* 第一家短信运营商ID
*/
private Integer firstService;
/**
* 第一家短信运营商返回结果
*/
private String firstServiceReuslt;
/**
* 第一家短信运营商发送状态
*/
private Integer firstServiceStatus;
/**
* 第二家短信运营商ID
*/
private Integer secondService;
/**
* 第二家短信运营商返回结果
*/
private String secondServiceResult;
/**
* 第二家短信运营商发送状态 0-尚未发送, 1-发送成功, 2-发送失败
*/
private Integer secondServiceStatus;
/**
* 短信发送内容
*/
private String content;
/**
* 扩展字段1
*/
private String ext1;
/**
* 扩展字段2
*/
private String ext2;
/**
* 扩展字段3
*/
private String ext3;
public SMSLogs(){
}
public SMSLogs(Integer id, Integer templateId, String templateName, Date createTime, Date updateTime, Integer manageStatus, String content) {
this.id = id;
this.templateId = templateId;
this.templateName = templateName;
this.createTime = createTime;
this.updateTime = updateTime;
this.manageStatus = manageStatus;
this.content = content;
}
public SMSLogs(Integer templateId, String templateName, String ip, String area, String mobile, Integer manageStatus, String content) {
this.templateId = templateId;
this.templateName = templateName;
this.ip = ip;
this.area = area;
this.mobile = mobile;
this.manageStatus = manageStatus;
this.content = content;
}
public SMSLogs(int templateId, String templateName, Date createTime, Date updateTime, int manageStatus){
this.templateId = templateId;
this.templateName = templateName;
this.createTime = createTime;
this.updateTime = updateTime;
this.manageStatus = manageStatus;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getTemplateId() {
return templateId;
}
public void setTemplateId(Integer templateId) {
this.templateId = templateId;
}
public String getTemplateName() {
return templateName;
}
public void setTemplateName(String templateName) {
this.templateName = templateName == null ? null : templateName.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Integer getManageStatus() {
return manageStatus;
}
public void setManageStatus(Integer manageStatus) {
this.manageStatus = manageStatus;
}
public Integer getFirstService() {
return firstService;
}
public void setFirstService(Integer firstService) {
this.firstService = firstService;
}
public String getFirstServiceReuslt() {
return firstServiceReuslt;
}
public void setFirstServiceReuslt(String firstServiceReuslt) {
this.firstServiceReuslt = firstServiceReuslt == null ? null : firstServiceReuslt.trim();
}
public Integer getFirstServiceStatus() {
return firstServiceStatus;
}
public void setFirstServiceStatus(Integer firstServiceStatus) {
this.firstServiceStatus = firstServiceStatus;
}
public Integer getSecondService() {
return secondService;
}
public void setSecondService(Integer secondService) {
this.secondService = secondService;
}
public String getSecondServiceResult() {
return secondServiceResult;
}
public void setSecondServiceResult(String secondServiceResult) {
this.secondServiceResult = secondServiceResult == null ? null : secondServiceResult.trim();
}
public Integer getSecondServiceStatus() {
return secondServiceStatus;
}
public void setSecondServiceStatus(Integer secondServiceStatus) {
this.secondServiceStatus = secondServiceStatus;
}
public String getExt1() {
return ext1;
}
public void setExt1(String ext1) {
this.ext1 = ext1 == null ? null : ext1.trim();
}
public String getExt2() {
return ext2;
}
public void setExt2(String ext2) {
this.ext2 = ext2 == null ? null : ext2.trim();
}
public String getExt3() {
return ext3;
}
public void setExt3(String ext3) {
this.ext3 = ext3 == null ? null : ext3.trim();
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content == null ? null : content.trim();
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
}