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
|
|
|
|
|
|
protected String protocol; //协议类型,从字典LOG_PROTOCOL取值
|
|
|
|
|
|
protected Integer addrType; //ip地址类型,从字典IP_TYPE取值
|
|
|
|
|
|
protected String serverIp; //服务端ip地址
|
|
|
|
|
|
protected String clientIp; //客户端ip地址
|
|
|
|
|
|
protected String serverPort; //服务端ip端口
|
|
|
|
|
|
protected String clientPort; //客户端ip端口
|
|
|
|
|
|
protected Integer serviceType; //配置表的serviceId
|
|
|
|
|
|
protected Integer entranceId; //出入口编号
|
|
|
|
|
|
protected Integer deviceId; //串联设备编号
|
|
|
|
|
|
protected Integer direction; //传输方向 0:域内->域外,1:域外->域内,从字典LOG_DIRECTION取值
|
|
|
|
|
|
protected Integer streamType; //流类型 0:c2s;1:s2c;2:double,从字典LOG_STREAMTYPE取值
|
|
|
|
|
|
protected String cljIp; //处理机IP
|
|
|
|
|
|
protected String nestAddrList; //嵌套地址列表
|
|
|
|
|
|
protected String userRegion; //用户自定义
|
|
|
|
|
|
|
|
|
|
|
|
protected Integer functionId;
|
2018-06-14 10:37:59 +08:00
|
|
|
|
protected Integer action;
|
2018-06-11 09:30:34 +08:00
|
|
|
|
|
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-06-14 10:37:59 +08:00
|
|
|
|
public Integer getAction() {
|
|
|
|
|
|
return action;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAction(Integer action) {
|
|
|
|
|
|
this.action = action;
|
|
|
|
|
|
}
|
2018-06-13 14:36:58 +08:00
|
|
|
|
public Integer getFunctionId() {
|
|
|
|
|
|
return functionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setFunctionId(Integer functionId) {
|
|
|
|
|
|
this.functionId = functionId;
|
|
|
|
|
|
}
|
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-12 13:32:00 +08:00
|
|
|
|
public String getSearchFoundStartTime() {
|
|
|
|
|
|
return searchFoundStartTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSearchFoundStartTime(String searchFoundStartTime) {
|
|
|
|
|
|
this.searchFoundStartTime = searchFoundStartTime;
|
|
|
|
|
|
}
|
2018-06-12 16:57:41 +08:00
|
|
|
|
public String getSearchFoundEndTime() {
|
|
|
|
|
|
return searchFoundEndTime;
|
2018-06-12 13:32:00 +08:00
|
|
|
|
}
|
2018-06-12 16:57:41 +08:00
|
|
|
|
public void setSearchFoundEndTime(String searchFoundEndTime) {
|
|
|
|
|
|
this.searchFoundEndTime = searchFoundEndTime;
|
2018-06-12 13:32:00 +08:00
|
|
|
|
}
|
|
|
|
|
|
public String getSeltype() {
|
|
|
|
|
|
return seltype;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSeltype(String seltype) {
|
|
|
|
|
|
this.seltype = seltype;
|
|
|
|
|
|
}
|
2018-06-11 09:30:34 +08:00
|
|
|
|
public Integer getCfgId() {
|
|
|
|
|
|
return cfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCfgId(Integer cfgId) {
|
|
|
|
|
|
this.cfgId = cfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getProtocol() {
|
|
|
|
|
|
return protocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setProtocol(String protocol) {
|
|
|
|
|
|
this.protocol = protocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getAddrType() {
|
|
|
|
|
|
return addrType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAddrType(Integer addrType) {
|
|
|
|
|
|
this.addrType = addrType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getServerIp() {
|
|
|
|
|
|
return serverIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setServerIp(String serverIp) {
|
|
|
|
|
|
this.serverIp = serverIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getClientIp() {
|
|
|
|
|
|
return clientIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setClientIp(String clientIp) {
|
|
|
|
|
|
this.clientIp = clientIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getServerPort() {
|
|
|
|
|
|
return serverPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setServerPort(String serverPort) {
|
|
|
|
|
|
this.serverPort = serverPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getClientPort() {
|
|
|
|
|
|
return clientPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setClientPort(String clientPort) {
|
|
|
|
|
|
this.clientPort = clientPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getServiceType() {
|
|
|
|
|
|
return serviceType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setServiceType(Integer serviceType) {
|
|
|
|
|
|
this.serviceType = serviceType;
|
|
|
|
|
|
}
|
|
|
|
|
|
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;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getStreamType() {
|
|
|
|
|
|
return streamType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setStreamType(Integer streamType) {
|
|
|
|
|
|
this.streamType = streamType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getCljIp() {
|
|
|
|
|
|
return cljIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCljIp(String cljIp) {
|
|
|
|
|
|
this.cljIp = cljIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getNestAddrList() {
|
|
|
|
|
|
return nestAddrList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setNestAddrList(String nestAddrList) {
|
|
|
|
|
|
this.nestAddrList = nestAddrList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getUserRegion() {
|
|
|
|
|
|
return userRegion;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setUserRegion(String userRegion) {
|
|
|
|
|
|
this.userRegion = userRegion;
|
|
|
|
|
|
}
|
2018-06-13 13:51:21 +08:00
|
|
|
|
@Override
|
|
|
|
|
|
public String toString() {
|
|
|
|
|
|
return "BaseLogEntity [cfgId=" + cfgId + ", foundTime=" + foundTime + ", recvTime=" + recvTime + ", protocol="
|
|
|
|
|
|
+ protocol + ", addrType=" + addrType + ", serverIp=" + serverIp + ", clientIp=" + clientIp
|
|
|
|
|
|
+ ", serverPort=" + serverPort + ", clientPort=" + clientPort + ", serviceType=" + serviceType
|
|
|
|
|
|
+ ", entranceId=" + entranceId + ", deviceId=" + deviceId + ", direction=" + direction + ", streamType="
|
|
|
|
|
|
+ streamType + ", cljIp=" + cljIp + ", nestAddrList=" + nestAddrList + ", userRegion=" + userRegion
|
|
|
|
|
|
+ ", seltype=" + seltype + ", searchFoundStartTime=" + searchFoundStartTime + ", searchFoundEndTime="
|
|
|
|
|
|
+ searchFoundEndTime + "]";
|
|
|
|
|
|
}
|
2018-06-11 09:30:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|