增加界面大屏图表服务接口
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class TrafficAppStatistic {
|
||||
private Integer statId;
|
||||
|
||||
private Integer appType;
|
||||
|
||||
private Integer entranceId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
}
|
||||
|
||||
public void setStatId(Integer statId) {
|
||||
this.statId = statId;
|
||||
}
|
||||
|
||||
public Integer getAppType() {
|
||||
return appType;
|
||||
}
|
||||
|
||||
public void setAppType(Integer appType) {
|
||||
this.appType = appType;
|
||||
}
|
||||
|
||||
public Integer getEntranceId() {
|
||||
return entranceId;
|
||||
}
|
||||
|
||||
public void setEntranceId(Integer entranceId) {
|
||||
this.entranceId = entranceId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
public void setStatTime(Date statTime) {
|
||||
this.statTime = statTime;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class TrafficHttpStatistic {
|
||||
private Integer statId;
|
||||
|
||||
private Integer webType;
|
||||
|
||||
private Integer webId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
// 自定义字段
|
||||
private Integer count;
|
||||
private Integer pktNum;
|
||||
private Integer byteLen;
|
||||
|
||||
public Integer getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public Integer getPktNum() {
|
||||
return pktNum;
|
||||
}
|
||||
|
||||
public void setPktNum(Integer pktNum) {
|
||||
this.pktNum = pktNum;
|
||||
}
|
||||
|
||||
public Integer getByteLen() {
|
||||
return byteLen;
|
||||
}
|
||||
|
||||
public void setByteLen(Integer byteLen) {
|
||||
this.byteLen = byteLen;
|
||||
}
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
}
|
||||
|
||||
public void setStatId(Integer statId) {
|
||||
this.statId = statId;
|
||||
}
|
||||
|
||||
public Integer getWebType() {
|
||||
return webType;
|
||||
}
|
||||
|
||||
public void setWebType(Integer webType) {
|
||||
this.webType = webType;
|
||||
}
|
||||
|
||||
public Integer getWebId() {
|
||||
return webId;
|
||||
}
|
||||
|
||||
public void setWebId(Integer webId) {
|
||||
this.webId = webId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
public void setStatTime(Date statTime) {
|
||||
this.statTime = statTime;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.nis.domain.BaseEntity;
|
||||
|
||||
public class TrafficIpActiveStatistic extends BaseEntity<TrafficIpActiveStatistic> {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -9198831010652509505L;
|
||||
|
||||
private Integer statId;
|
||||
|
||||
private String ipAddr;
|
||||
|
||||
private Integer areaId;
|
||||
|
||||
private Integer linkNum;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
}
|
||||
|
||||
public void setStatId(Integer statId) {
|
||||
this.statId = statId;
|
||||
}
|
||||
|
||||
public String getIpAddr() {
|
||||
return ipAddr;
|
||||
}
|
||||
|
||||
public void setIpAddr(String ipAddr) {
|
||||
this.ipAddr = ipAddr == null ? null : ipAddr.trim();
|
||||
}
|
||||
|
||||
public Integer getAreaId() {
|
||||
return areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(Integer areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public Integer getLinkNum() {
|
||||
return linkNum;
|
||||
}
|
||||
|
||||
public void setLinkNum(Integer linkNum) {
|
||||
this.linkNum = linkNum;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
public void setStatTime(Date statTime) {
|
||||
this.statTime = statTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TrafficIpActiveStatistic [statId=" + statId + ", ipAddr=" + ipAddr + ", areaId=" + areaId + ", linkNum="
|
||||
+ linkNum + ", c2sPktNum=" + c2sPktNum + ", s2cPktNum=" + s2cPktNum + ", c2sByteLen=" + c2sByteLen
|
||||
+ ", s2cByteLen=" + s2cByteLen + ", statTime=" + statTime + "]";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class TrafficProtocolStatistic {
|
||||
private Integer statId;
|
||||
|
||||
private Integer protoType;
|
||||
|
||||
private Integer entranceId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
}
|
||||
|
||||
public void setStatId(Integer statId) {
|
||||
this.statId = statId;
|
||||
}
|
||||
|
||||
public Integer getProtoType() {
|
||||
return protoType;
|
||||
}
|
||||
|
||||
public void setProtoType(Integer protoType) {
|
||||
this.protoType = protoType;
|
||||
}
|
||||
|
||||
public Integer getEntranceId() {
|
||||
return entranceId;
|
||||
}
|
||||
|
||||
public void setEntranceId(Integer entranceId) {
|
||||
this.entranceId = entranceId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
public void setStatTime(Date statTime) {
|
||||
this.statTime = statTime;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class TrafficUaStatistic {
|
||||
private Integer statId;
|
||||
|
||||
private Integer bsType;
|
||||
private Integer osType;
|
||||
|
||||
private Integer entranceId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
// 自定义字段
|
||||
private Integer count;
|
||||
private Integer pktNum;
|
||||
private Integer byteLen;
|
||||
|
||||
public Integer getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public Integer getPktNum() {
|
||||
return pktNum;
|
||||
}
|
||||
|
||||
public void setPktNum(Integer pktNum) {
|
||||
this.pktNum = pktNum;
|
||||
}
|
||||
|
||||
public Integer getByteLen() {
|
||||
return byteLen;
|
||||
}
|
||||
|
||||
public void setByteLen(Integer byteLen) {
|
||||
this.byteLen = byteLen;
|
||||
}
|
||||
|
||||
public Integer getOsType() {
|
||||
return osType;
|
||||
}
|
||||
|
||||
public void setOsType(Integer osType) {
|
||||
this.osType = osType;
|
||||
}
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
}
|
||||
|
||||
public void setStatId(Integer statId) {
|
||||
this.statId = statId;
|
||||
}
|
||||
|
||||
public Integer getBsType() {
|
||||
return bsType;
|
||||
}
|
||||
|
||||
public void setBsType(Integer bsType) {
|
||||
this.bsType = bsType;
|
||||
}
|
||||
|
||||
public Integer getEntranceId() {
|
||||
return entranceId;
|
||||
}
|
||||
|
||||
public void setEntranceId(Integer entranceId) {
|
||||
this.entranceId = entranceId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
public void setStatTime(Date statTime) {
|
||||
this.statTime = statTime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user