2018-06-11 09:30:34 +08:00
|
|
|
|
package com.nis.domain.log;
|
|
|
|
|
|
|
|
|
|
|
|
import com.nis.domain.BaseEntity;
|
|
|
|
|
|
|
2018-06-11 10:59:07 +08:00
|
|
|
|
public class BaseLogEntity<T> extends BaseEntity<T> {
|
2018-06-11 09:30:34 +08:00
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 8321337584518281424L;
|
|
|
|
|
|
|
2018-06-13 14:36:58 +08:00
|
|
|
|
protected Integer cfgId;
|
|
|
|
|
|
protected String foundTime; //发现时间,timestamp
|
|
|
|
|
|
protected String recvTime; //接收时间,timestamp
|
2018-07-03 12:58:42 +08:00
|
|
|
|
protected String transProto; //协议类型,从字典LOG_PROTOCOL取值
|
2018-06-13 14:36:58 +08:00
|
|
|
|
protected Integer addrType; //ip地址类型,从字典IP_TYPE取值
|
2018-07-03 12:46:06 +08:00
|
|
|
|
protected String dIp; //服务端ip地址
|
|
|
|
|
|
protected String sIp; //客户端ip地址
|
|
|
|
|
|
protected String dPort; //服务端ip端口
|
|
|
|
|
|
protected String sPort; //客户端ip端口
|
|
|
|
|
|
protected Integer service; //配置表的serviceId
|
2018-06-13 14:36:58 +08:00
|
|
|
|
protected Integer entranceId; //出入口编号
|
|
|
|
|
|
protected Integer deviceId; //串联设备编号
|
|
|
|
|
|
protected Integer direction; //传输方向 0:域内->域外,1:域外->域内,从字典LOG_DIRECTION取值
|
2018-07-03 12:46:06 +08:00
|
|
|
|
protected Integer streamDir; //流类型 0:c2s;1:s2c;2:double,从字典LOG_STREAMTYPE取值
|
|
|
|
|
|
protected String capIp; //处理机IP
|
|
|
|
|
|
protected String addrList; //嵌套地址列表
|
2018-07-23 15:31:27 +08:00
|
|
|
|
protected String serverLocate;// 服务端地址定位信息
|
|
|
|
|
|
protected String clientLocate;// 客户端地址定位信息
|
2018-06-13 14:36:58 +08:00
|
|
|
|
protected String userRegion; //用户自定义
|
2018-08-17 16:23:03 +08:00
|
|
|
|
protected String sAsn;//客户端ASN
|
|
|
|
|
|
protected String dAsn;//服务端ASN
|
|
|
|
|
|
protected String sSubscribeId;//客户端用户名
|
|
|
|
|
|
protected String dSubscribeId;//服务端用户名
|
|
|
|
|
|
protected String sceneFile;//现场日志文件地址
|
2018-06-13 14:36:58 +08:00
|
|
|
|
|
|
|
|
|
|
protected Integer functionId;
|
2018-06-14 10:37:59 +08:00
|
|
|
|
protected Integer action;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
|
2018-09-03 12:37:46 +08:00
|
|
|
|
protected String date;//配置界面日志总量查询时间
|
2018-06-12 13:32:00 +08:00
|
|
|
|
//自定义字段
|
|
|
|
|
|
protected String seltype;//选中类型,页面搜索用
|
|
|
|
|
|
protected String searchFoundStartTime;//开始时间,格式为yyyy-mm-dd hh24:mi:ss
|
2018-06-12 16:57:41 +08:00
|
|
|
|
protected String searchFoundEndTime;//结束时间,格式同上
|
2018-06-12 13:32:00 +08:00
|
|
|
|
|
2018-12-10 11:09:04 +08:00
|
|
|
|
protected String isLogTotalSearch;//由配置界面跳转日志查询标识
|
2018-10-31 09:56:38 +08:00
|
|
|
|
protected String orderBy;//排序参数
|
2018-09-13 16:46:56 +08:00
|
|
|
|
|
2018-11-02 19:05:09 +08:00
|
|
|
|
//新增字段
|
|
|
|
|
|
protected Integer encapType;//原始二层封装格式
|
|
|
|
|
|
protected Integer linkId;//串联设备链路号
|
|
|
|
|
|
protected String innerSmac;//MAC_IN_MAC的内层源MAC
|
|
|
|
|
|
protected String innerDmac;//MAC_IN_MAC的内层目标MAC
|
2018-10-31 09:56:38 +08:00
|
|
|
|
|
2018-11-02 19:05:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Integer getEncapType() {
|
|
|
|
|
|
return encapType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setEncapType(Integer encapType) {
|
|
|
|
|
|
this.encapType = encapType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getLinkId() {
|
|
|
|
|
|
return linkId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setLinkId(Integer linkId) {
|
|
|
|
|
|
this.linkId = linkId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getInnerSmac() {
|
|
|
|
|
|
return innerSmac;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setInnerSmac(String innerSmac) {
|
|
|
|
|
|
this.innerSmac = innerSmac;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getInnerDmac() {
|
|
|
|
|
|
return innerDmac;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setInnerDmac(String innerDmac) {
|
|
|
|
|
|
this.innerDmac = innerDmac;
|
|
|
|
|
|
}
|
2018-10-31 09:56:38 +08:00
|
|
|
|
public String getOrderBy() {
|
|
|
|
|
|
return orderBy;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setOrderBy(String orderBy) {
|
|
|
|
|
|
this.orderBy = orderBy;
|
|
|
|
|
|
}
|
2018-06-13 13:51:21 +08:00
|
|
|
|
public String getFoundTime() {
|
|
|
|
|
|
return foundTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setFoundTime(String foundTime) {
|
|
|
|
|
|
this.foundTime = foundTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getRecvTime() {
|
|
|
|
|
|
return recvTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setRecvTime(String recvTime) {
|
|
|
|
|
|
this.recvTime = recvTime;
|
|
|
|
|
|
}
|
2018-06-11 09:30:34 +08:00
|
|
|
|
public Integer getCfgId() {
|
|
|
|
|
|
return cfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCfgId(Integer cfgId) {
|
|
|
|
|
|
this.cfgId = cfgId;
|
|
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public String getTransProto() {
|
2018-07-03 12:58:42 +08:00
|
|
|
|
return transProto;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setTransProto(String transProto) {
|
2018-07-03 12:58:42 +08:00
|
|
|
|
this.transProto = transProto;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
public Integer getAddrType() {
|
|
|
|
|
|
return addrType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAddrType(Integer addrType) {
|
|
|
|
|
|
this.addrType = addrType;
|
|
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public String getdIp() {
|
|
|
|
|
|
return dIp;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setdIp(String dIp) {
|
|
|
|
|
|
this.dIp = dIp;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public String getsIp() {
|
|
|
|
|
|
return sIp;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setsIp(String sIp) {
|
|
|
|
|
|
this.sIp = sIp;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public String getdPort() {
|
|
|
|
|
|
return dPort;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setdPort(String dPort) {
|
|
|
|
|
|
this.dPort = dPort;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public String getsPort() {
|
|
|
|
|
|
return sPort;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setsPort(String sPort) {
|
|
|
|
|
|
this.sPort = sPort;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public Integer getService() {
|
|
|
|
|
|
return service;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setService(Integer service) {
|
|
|
|
|
|
this.service = service;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
public Integer getEntranceId() {
|
|
|
|
|
|
return entranceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setEntranceId(Integer entranceId) {
|
|
|
|
|
|
this.entranceId = entranceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getDeviceId() {
|
|
|
|
|
|
return deviceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDeviceId(Integer deviceId) {
|
|
|
|
|
|
this.deviceId = deviceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getDirection() {
|
|
|
|
|
|
return direction;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDirection(Integer direction) {
|
|
|
|
|
|
this.direction = direction;
|
|
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public Integer getStreamDir() {
|
|
|
|
|
|
return streamDir;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setStreamDir(Integer streamDir) {
|
|
|
|
|
|
this.streamDir = streamDir;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public String getCapIp() {
|
|
|
|
|
|
return capIp;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setCapIp(String capIp) {
|
|
|
|
|
|
this.capIp = capIp;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public String getAddrList() {
|
|
|
|
|
|
return addrList;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public void setAddrList(String addrList) {
|
|
|
|
|
|
this.addrList = addrList;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
public String getUserRegion() {
|
|
|
|
|
|
return userRegion;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setUserRegion(String userRegion) {
|
|
|
|
|
|
this.userRegion = userRegion;
|
|
|
|
|
|
}
|
2018-07-03 12:46:06 +08:00
|
|
|
|
public Integer getFunctionId() {
|
|
|
|
|
|
return functionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setFunctionId(Integer functionId) {
|
|
|
|
|
|
this.functionId = functionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getAction() {
|
|
|
|
|
|
return action;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAction(Integer action) {
|
|
|
|
|
|
this.action = action;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSeltype() {
|
|
|
|
|
|
return seltype;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSeltype(String seltype) {
|
|
|
|
|
|
this.seltype = seltype;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSearchFoundStartTime() {
|
|
|
|
|
|
return searchFoundStartTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSearchFoundStartTime(String searchFoundStartTime) {
|
|
|
|
|
|
this.searchFoundStartTime = searchFoundStartTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSearchFoundEndTime() {
|
|
|
|
|
|
return searchFoundEndTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSearchFoundEndTime(String searchFoundEndTime) {
|
|
|
|
|
|
this.searchFoundEndTime = searchFoundEndTime;
|
|
|
|
|
|
}
|
2018-07-23 15:31:27 +08:00
|
|
|
|
public String getServerLocate() {
|
|
|
|
|
|
return serverLocate;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setServerLocate(String serverLocate) {
|
|
|
|
|
|
this.serverLocate = serverLocate;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getClientLocate() {
|
|
|
|
|
|
return clientLocate;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setClientLocate(String clientLocate) {
|
|
|
|
|
|
this.clientLocate = clientLocate;
|
|
|
|
|
|
}
|
2018-08-17 16:23:03 +08:00
|
|
|
|
public String getsAsn() {
|
|
|
|
|
|
return sAsn;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setsAsn(String sAsn) {
|
|
|
|
|
|
this.sAsn = sAsn;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getdAsn() {
|
|
|
|
|
|
return dAsn;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setdAsn(String dAsn) {
|
|
|
|
|
|
this.dAsn = dAsn;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getsSubscribeId() {
|
|
|
|
|
|
return sSubscribeId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setsSubscribeId(String sSubscribeId) {
|
|
|
|
|
|
this.sSubscribeId = sSubscribeId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getdSubscribeId() {
|
|
|
|
|
|
return dSubscribeId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setdSubscribeId(String dSubscribeId) {
|
|
|
|
|
|
this.dSubscribeId = dSubscribeId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSceneFile() {
|
|
|
|
|
|
return sceneFile;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSceneFile(String sceneFile) {
|
|
|
|
|
|
this.sceneFile = sceneFile;
|
|
|
|
|
|
}
|
2018-09-03 12:37:46 +08:00
|
|
|
|
public String getDate() {
|
|
|
|
|
|
return date;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDate(String date) {
|
|
|
|
|
|
this.date = date;
|
|
|
|
|
|
}
|
2018-09-13 16:46:56 +08:00
|
|
|
|
public String getIsLogTotalSearch() {
|
|
|
|
|
|
return isLogTotalSearch;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIsLogTotalSearch(String isLogTotalSearch) {
|
|
|
|
|
|
this.isLogTotalSearch = isLogTotalSearch;
|
|
|
|
|
|
}
|
2018-06-13 13:51:21 +08:00
|
|
|
|
@Override
|
|
|
|
|
|
public String toString() {
|
2018-09-13 16:46:56 +08:00
|
|
|
|
return "BaseLogEntity [cfgId=" + cfgId + ", foundTime=" + foundTime + ", recvTime=" + recvTime + ", transProto="
|
|
|
|
|
|
+ transProto + ", addrType=" + addrType + ", dIp=" + dIp + ", sIp=" + sIp + ", dPort=" + dPort
|
|
|
|
|
|
+ ", sPort=" + sPort + ", service=" + service + ", entranceId=" + entranceId + ", deviceId=" + deviceId
|
|
|
|
|
|
+ ", direction=" + direction + ", streamDir=" + streamDir + ", capIp=" + capIp + ", addrList="
|
|
|
|
|
|
+ addrList + ", serverLocate=" + serverLocate + ", clientLocate=" + clientLocate + ", userRegion="
|
|
|
|
|
|
+ userRegion + ", sAsn=" + sAsn + ", dAsn=" + dAsn + ", sSubscribeId=" + sSubscribeId
|
|
|
|
|
|
+ ", dSubscribeId=" + dSubscribeId + ", sceneFile=" + sceneFile + ", functionId=" + functionId
|
|
|
|
|
|
+ ", action=" + action + ", date=" + date + ", seltype=" + seltype + ", searchFoundStartTime="
|
|
|
|
|
|
+ searchFoundStartTime + ", searchFoundEndTime=" + searchFoundEndTime + ", isLogTotalSearch="
|
|
|
|
|
|
+ isLogTotalSearch + "]";
|
2018-08-17 16:23:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-11 09:30:34 +08:00
|
|
|
|
}
|