...
|
...
|
@@ -8,6 +8,31 @@ import java.util.Date; |
|
|
public class SMSLogs {
|
|
|
|
|
|
/**
|
|
|
* 日志表主键ID
|
|
|
*/
|
|
|
private Integer id;
|
|
|
|
|
|
/**
|
|
|
* 模板ID
|
|
|
*/
|
|
|
private Integer templateId;
|
|
|
|
|
|
/**
|
|
|
* 模板名称
|
|
|
*/
|
|
|
private String templateName;
|
|
|
|
|
|
/**
|
|
|
* ip地址
|
|
|
*/
|
|
|
private String ip;
|
|
|
|
|
|
/**
|
|
|
* 国家或者地区码
|
|
|
*/
|
|
|
private String area;
|
|
|
|
|
|
/**
|
|
|
* 手机号码
|
|
|
*/
|
|
|
private String mobile;
|
...
|
...
|
@@ -17,24 +42,24 @@ public class SMSLogs { |
|
|
*/
|
|
|
private Date createTime;
|
|
|
|
|
|
/**
|
|
|
* 修改时间
|
|
|
*/
|
|
|
private Date updateTime;
|
|
|
|
|
|
/**
|
|
|
* 管理状态:0-初始状态,1-发送成功,2-模版不存在,3-短信服务商不存在,4-发送失败
|
|
|
*/
|
|
|
private Integer manageStatus;
|
|
|
|
|
|
/**
|
|
|
* 第一家短信运营商ID
|
|
|
*/
|
|
|
private Integer firstService;
|
|
|
|
|
|
public Integer getFirstServiceStatus() {
|
|
|
return firstServiceStatus;
|
|
|
}
|
|
|
|
|
|
public void setFirstServiceStatus(Integer firstServiceStatus) {
|
|
|
this.firstServiceStatus = firstServiceStatus;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 第一家短信运营商返回结果
|
|
|
*/
|
|
|
|
|
|
private String firstServiceReuslt;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -42,6 +67,121 @@ public class SMSLogs { |
|
|
*/
|
|
|
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;
|
|
|
}
|
...
|
...
|
@@ -55,28 +195,63 @@ public class SMSLogs { |
|
|
}
|
|
|
|
|
|
public void setFirstServiceReuslt(String firstServiceReuslt) {
|
|
|
this.firstServiceReuslt = firstServiceReuslt;
|
|
|
this.firstServiceReuslt = firstServiceReuslt == null ? null : firstServiceReuslt.trim();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 短信发送内容
|
|
|
*/
|
|
|
private String content;
|
|
|
public Integer getFirstServiceStatus() {
|
|
|
return firstServiceStatus;
|
|
|
}
|
|
|
|
|
|
public String getMobile() {
|
|
|
return mobile;
|
|
|
public void setFirstServiceStatus(Integer firstServiceStatus) {
|
|
|
this.firstServiceStatus = firstServiceStatus;
|
|
|
}
|
|
|
|
|
|
public void setMobile(String mobile) {
|
|
|
this.mobile = mobile;
|
|
|
public Integer getSecondService() {
|
|
|
return secondService;
|
|
|
}
|
|
|
|
|
|
public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
public void setSecondService(Integer secondService) {
|
|
|
this.secondService = secondService;
|
|
|
}
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
this.createTime = createTime;
|
|
|
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() {
|
...
|
...
|
@@ -84,6 +259,30 @@ public class SMSLogs { |
|
|
}
|
|
|
|
|
|
public void setContent(String content) {
|
|
|
this.content = 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;
|
|
|
}
|
|
|
} |
...
|
...
|
|