2017-12-19 14:55:52 +08:00
|
|
|
|
/**
|
2018-06-28 18:52:23 +08:00
|
|
|
|
* @Title: LogEntity.java
|
|
|
|
|
|
* @Package com.nis.domain
|
|
|
|
|
|
* @Description: TODO(用一句话描述该文件做什么)
|
|
|
|
|
|
* @author (darnell)
|
|
|
|
|
|
* @date 2016年9月1日 上午10:16:54
|
|
|
|
|
|
* @version V1.0
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
package com.nis.domain;
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.xml.bind.annotation.XmlTransient;
|
|
|
|
|
|
|
|
|
|
|
|
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
|
import com.google.common.collect.Maps;
|
|
|
|
|
|
import com.nis.util.Configurations;
|
|
|
|
|
|
import com.nis.util.JsonDateSerializer;
|
|
|
|
|
|
import com.wordnik.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @ClassName: LogEntity
|
|
|
|
|
|
* @Description: TODO(日志公共实体部分)
|
|
|
|
|
|
* @author (darnell)
|
|
|
|
|
|
* @date 2016年9月1日 上午10:16:54
|
|
|
|
|
|
* @version V1.0
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public abstract class LogEntity<T> implements Serializable {
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
private static final long serialVersionUID = 1L;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "日志编号", required = true)
|
2017-12-19 14:55:52 +08:00
|
|
|
|
protected Long id;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "配置ID", required = true)
|
2017-12-19 14:55:52 +08:00
|
|
|
|
protected Long cfgId;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@ApiModelProperty(value = "发现时间", required = true)
|
2017-12-19 14:55:52 +08:00
|
|
|
|
protected Date foundTime;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@ApiModelProperty(value = "接收时间", required = true)
|
2017-12-19 14:55:52 +08:00
|
|
|
|
protected Date recvTime;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@ApiModelProperty(value = "协议类型", required = true)
|
|
|
|
|
|
protected String transProto;
|
|
|
|
|
|
@ApiModelProperty(value = "IP地址类型", required = true)
|
2018-06-10 16:18:34 +08:00
|
|
|
|
protected Integer addrType;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@ApiModelProperty(value = "服务端ip地址", required = true)
|
|
|
|
|
|
protected String dIp;
|
|
|
|
|
|
@ApiModelProperty(value = "客户端ip地址", required = true)
|
|
|
|
|
|
protected String sIp;
|
|
|
|
|
|
@ApiModelProperty(value = "服务端端口", required = true)
|
|
|
|
|
|
protected String dPort;
|
|
|
|
|
|
@ApiModelProperty(value = "客户端端口", required = true)
|
|
|
|
|
|
protected String sPort;
|
|
|
|
|
|
@ApiModelProperty(value = "业务类型", required = true)
|
|
|
|
|
|
protected Integer service;
|
|
|
|
|
|
@ApiModelProperty(value = "出入口编号", required = true)
|
|
|
|
|
|
protected Long entranceId;
|
|
|
|
|
|
@ApiModelProperty(value = "串联设备编号", required = true)
|
2018-06-10 16:18:34 +08:00
|
|
|
|
protected Integer deviceId;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@ApiModelProperty(value = "传输方向", required = true, notes = "0:域内->域外,1:域外->域内,描述的是CLIENT_IP信息")
|
2018-06-10 16:18:34 +08:00
|
|
|
|
protected Integer direction;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@ApiModelProperty(value = "流类型", required = true, notes = "0:c2s,1:s2c;2;double")
|
|
|
|
|
|
protected Integer streamDir;
|
|
|
|
|
|
@ApiModelProperty(value = "处理机IP", required = true)
|
|
|
|
|
|
protected String capIp;
|
|
|
|
|
|
@ApiModelProperty(value = "嵌套地址列表", required = true)
|
|
|
|
|
|
protected String addrList;
|
|
|
|
|
|
@ApiModelProperty(value = "用户自定义域", required = true)
|
2018-06-10 16:18:34 +08:00
|
|
|
|
private String userRegion;
|
|
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
protected Long foundTimeCluster;
|
|
|
|
|
|
protected Long recvTimeCluster;
|
|
|
|
|
|
|
2018-06-10 16:18:34 +08:00
|
|
|
|
protected String searchCfgId;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
protected String searchFoundStartTime;
|
|
|
|
|
|
protected String searchFoundEndTime;
|
|
|
|
|
|
protected Long searchFoundStartTimeCluster;
|
|
|
|
|
|
protected Long searchFoundEndTimeCluster;
|
|
|
|
|
|
protected String searchProtocol;
|
|
|
|
|
|
protected String searchServerIp;
|
|
|
|
|
|
protected String searchClientIp;
|
2018-06-10 16:18:34 +08:00
|
|
|
|
protected Integer searchDirection;
|
|
|
|
|
|
protected String searchServiceType;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
protected String searchEntranceId;
|
|
|
|
|
|
protected String searchCljIp;
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public Long getFoundTimeCluster() {
|
|
|
|
|
|
return foundTimeCluster;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public Long getRecvTimeCluster() {
|
|
|
|
|
|
return recvTimeCluster;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setFoundTimeCluster(Long foundTimeCluster) {
|
|
|
|
|
|
this.foundTimeCluster = foundTimeCluster;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setRecvTimeCluster(Long recvTimeCluster) {
|
|
|
|
|
|
this.recvTimeCluster = recvTimeCluster;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public Long getSearchFoundStartTimeCluster() {
|
|
|
|
|
|
return searchFoundStartTimeCluster;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchFoundStartTimeCluster(Long searchFoundStartTimeCluster) {
|
|
|
|
|
|
this.searchFoundStartTimeCluster = searchFoundStartTimeCluster;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public Long getSearchFoundEndTimeCluster() {
|
|
|
|
|
|
return searchFoundEndTimeCluster;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchFoundEndTimeCluster(Long searchFoundEndTimeCluster) {
|
|
|
|
|
|
this.searchFoundEndTimeCluster = searchFoundEndTimeCluster;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 当前实体分页对象
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Page<T> page;
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 自定义SQL(SQL标识,SQL内容)
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Map<String, String> sqlMap;
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @Title:
|
|
|
|
|
|
* @Description: TODO
|
|
|
|
|
|
* @param
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public LogEntity() {
|
|
|
|
|
|
super();
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return id
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public Long getId() {
|
|
|
|
|
|
return id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param id
|
|
|
|
|
|
* 要设置的 id
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setId(Long id) {
|
|
|
|
|
|
this.id = id;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return cfgId
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public Long getCfgId() {
|
|
|
|
|
|
return cfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param cfgId
|
|
|
|
|
|
* 要设置的 cfgId
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setCfgId(Long cfgId) {
|
|
|
|
|
|
this.cfgId = cfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return foundTime
|
|
|
|
|
|
*/
|
|
|
|
|
|
@JsonSerialize(using = JsonDateSerializer.class)
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public Date getFoundTime() {
|
2018-06-28 18:52:23 +08:00
|
|
|
|
if (foundTime == null && this.foundTimeCluster != null) {
|
|
|
|
|
|
foundTime = new Date(this.foundTimeCluster * 1000);
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
return foundTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param foundTime
|
|
|
|
|
|
* 要设置的 foundTime
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setFoundTime(Date foundTime) {
|
|
|
|
|
|
this.foundTime = foundTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return recvTime
|
|
|
|
|
|
*/
|
|
|
|
|
|
@JsonSerialize(using = JsonDateSerializer.class)
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public Date getRecvTime() {
|
2018-06-28 18:52:23 +08:00
|
|
|
|
if (recvTime == null && this.recvTimeCluster != null) {
|
|
|
|
|
|
recvTime = new Date(this.recvTimeCluster * 1000);
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
return recvTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param recvTime
|
|
|
|
|
|
* 要设置的 recvTime
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setRecvTime(Date recvTime) {
|
|
|
|
|
|
this.recvTime = recvTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return entranceId
|
|
|
|
|
|
*/
|
|
|
|
|
|
public Long getEntranceId() {
|
|
|
|
|
|
return entranceId;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param entranceId
|
|
|
|
|
|
* 要设置的 entranceId
|
|
|
|
|
|
*/
|
|
|
|
|
|
public void setEntranceId(Long entranceId) {
|
|
|
|
|
|
this.entranceId = entranceId;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getTransProto() {
|
|
|
|
|
|
return transProto;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setTransProto(String transProto) {
|
|
|
|
|
|
this.transProto = transProto;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getdIp() {
|
|
|
|
|
|
return dIp;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setdIp(String dIp) {
|
|
|
|
|
|
this.dIp = dIp;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getsIp() {
|
|
|
|
|
|
return sIp;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setsIp(String sIp) {
|
|
|
|
|
|
this.sIp = sIp;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getdPort() {
|
|
|
|
|
|
return dPort;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setdPort(String dPort) {
|
|
|
|
|
|
this.dPort = dPort;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getsPort() {
|
|
|
|
|
|
return sPort;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setsPort(String sPort) {
|
|
|
|
|
|
this.sPort = sPort;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public Integer getService() {
|
|
|
|
|
|
return service;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setService(Integer service) {
|
|
|
|
|
|
this.service = service;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public Integer getStreamDir() {
|
|
|
|
|
|
return streamDir;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setStreamDir(Integer streamDir) {
|
|
|
|
|
|
this.streamDir = streamDir;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getCapIp() {
|
|
|
|
|
|
return capIp;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setCapIp(String capIp) {
|
|
|
|
|
|
this.capIp = capIp;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getAddrList() {
|
|
|
|
|
|
return addrList;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setAddrList(String addrList) {
|
|
|
|
|
|
this.addrList = addrList;
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
@XmlTransient
|
|
|
|
|
|
public Page<T> getPage() {
|
2018-06-28 18:52:23 +08:00
|
|
|
|
if (page == null) {
|
2017-12-19 14:55:52 +08:00
|
|
|
|
page = new Page<T>();
|
|
|
|
|
|
}
|
|
|
|
|
|
return page;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public Page<T> setPage(Page<T> page) {
|
|
|
|
|
|
this.page = page;
|
|
|
|
|
|
return page;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
@XmlTransient
|
|
|
|
|
|
public Map<String, String> getSqlMap() {
|
2018-06-28 18:52:23 +08:00
|
|
|
|
if (sqlMap == null) {
|
2017-12-19 14:55:52 +08:00
|
|
|
|
sqlMap = Maps.newHashMap();
|
|
|
|
|
|
}
|
|
|
|
|
|
return sqlMap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setSqlMap(Map<String, String> sqlMap) {
|
|
|
|
|
|
this.sqlMap = sqlMap;
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 获取数据库名称
|
|
|
|
|
|
*/
|
|
|
|
|
|
@JsonIgnore
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getDbName() {
|
2017-12-19 14:55:52 +08:00
|
|
|
|
return Configurations.getStringProperty("jdbc.type", "mysql");
|
|
|
|
|
|
}
|
2018-06-28 18:52:23 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@Override
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
|
|
if (null == obj) {
|
|
|
|
|
|
return false;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (this == obj) {
|
|
|
|
|
|
return true;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (!getClass().equals(obj.getClass())) {
|
|
|
|
|
|
return false;
|
|
|
|
|
|
}
|
|
|
|
|
|
LogEntity<?> that = (LogEntity<?>) obj;
|
|
|
|
|
|
return null == this.getId() ? false : this.getId().equals(that.getId());
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @return searchFoundStartTime
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchFoundStartTime() {
|
|
|
|
|
|
return searchFoundStartTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchFoundStartTime
|
|
|
|
|
|
* 要设置的 searchFoundStartTime
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchFoundStartTime(String searchFoundStartTime) {
|
|
|
|
|
|
this.searchFoundStartTime = searchFoundStartTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchFoundEndTime
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchFoundEndTime() {
|
|
|
|
|
|
return searchFoundEndTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchFoundEndTime
|
|
|
|
|
|
* 要设置的 searchFoundEndTime
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchFoundEndTime(String searchFoundEndTime) {
|
|
|
|
|
|
this.searchFoundEndTime = searchFoundEndTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchCfgId
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchCfgId() {
|
|
|
|
|
|
return searchCfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchCfgId
|
|
|
|
|
|
* 要设置的 searchCfgId
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchCfgId(String searchCfgId) {
|
|
|
|
|
|
this.searchCfgId = searchCfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchProtocol
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchProtocol() {
|
|
|
|
|
|
return searchProtocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchProtocol
|
|
|
|
|
|
* 要设置的 searchProtocol
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchProtocol(String searchProtocol) {
|
|
|
|
|
|
this.searchProtocol = searchProtocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchServerIp
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchServerIp() {
|
|
|
|
|
|
return searchServerIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchServerIp
|
|
|
|
|
|
* 要设置的 searchServerIp
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchServerIp(String searchServerIp) {
|
|
|
|
|
|
this.searchServerIp = searchServerIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchClientIp
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchClientIp() {
|
|
|
|
|
|
return searchClientIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchClientIp
|
|
|
|
|
|
* 要设置的 searchClientIp
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchClientIp(String searchClientIp) {
|
|
|
|
|
|
this.searchClientIp = searchClientIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchEntranceId
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchEntranceId() {
|
|
|
|
|
|
return searchEntranceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchEntranceId
|
|
|
|
|
|
* 要设置的 searchEntranceId
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchEntranceId(String searchEntranceId) {
|
|
|
|
|
|
this.searchEntranceId = searchEntranceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchCljIp
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchCljIp() {
|
|
|
|
|
|
return searchCljIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchCljIp
|
|
|
|
|
|
* 要设置的 searchCljIp
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
|
|
|
|
|
|
public void setSearchCljIp(String searchCljIp) {
|
|
|
|
|
|
this.searchCljIp = searchCljIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @return searchServiceType
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public String getSearchServiceType() {
|
|
|
|
|
|
return searchServiceType;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @param searchServiceType
|
|
|
|
|
|
* 要设置的 searchServiceType
|
|
|
|
|
|
*/
|
2017-12-19 14:55:52 +08:00
|
|
|
|
public void setSearchServiceType(String searchServiceType) {
|
|
|
|
|
|
this.searchServiceType = searchServiceType;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public Integer getAddrType() {
|
|
|
|
|
|
return addrType;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setAddrType(Integer addrType) {
|
|
|
|
|
|
this.addrType = addrType;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public Integer getDeviceId() {
|
|
|
|
|
|
return deviceId;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setDeviceId(Integer deviceId) {
|
|
|
|
|
|
this.deviceId = deviceId;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public Integer getDirection() {
|
|
|
|
|
|
return direction;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setDirection(Integer direction) {
|
|
|
|
|
|
this.direction = direction;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
public Integer getSearchDirection() {
|
|
|
|
|
|
return searchDirection;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setSearchDirection(Integer searchDirection) {
|
|
|
|
|
|
this.searchDirection = searchDirection;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public String getUserRegion() {
|
|
|
|
|
|
return userRegion;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
public void setUserRegion(String userRegion) {
|
|
|
|
|
|
this.userRegion = userRegion;
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2018-06-28 18:52:23 +08:00
|
|
|
|
@Override
|
|
|
|
|
|
public String toString() {
|
|
|
|
|
|
return ReflectionToStringBuilder.toString(this);
|
|
|
|
|
|
}
|
2018-06-10 16:18:34 +08:00
|
|
|
|
|
2017-12-19 14:55:52 +08:00
|
|
|
|
}
|