1.日志增加app,Ddos 2.修改日志类名3.增加国际化代码及日志nis配置4.修改页面需要的标签类

This commit is contained in:
zhanghongqing
2018-07-11 18:15:59 +08:00
parent d303ffc9d7
commit 34892e5fd8
25 changed files with 1027 additions and 43 deletions

View File

@@ -1,7 +1,14 @@
package com.nis.domain.dashboard.codedic;
public class CodeAppDic {
private Integer id;
import java.io.Serializable;
public class CodeAppDic implements Serializable {
/**
*
*/
private static final long serialVersionUID = 8878203808371459079L;
private Integer id;
private String appName;

View File

@@ -1,7 +1,14 @@
package com.nis.domain.dashboard.codedic;
public class CodeBehaviorTypeDic {
private Integer id;
import java.io.Serializable;
public class CodeBehaviorTypeDic implements Serializable {
/**
*
*/
private static final long serialVersionUID = -3093079166837898180L;
private Integer id;
private String behaviorType;

View File

@@ -1,7 +1,14 @@
package com.nis.domain.dashboard.codedic;
public class CodeBrowserTypeDic {
private Integer id;
import java.io.Serializable;
public class CodeBrowserTypeDic implements Serializable {
/**
*
*/
private static final long serialVersionUID = -2134192971712765277L;
private Integer id;
private String browserType;

View File

@@ -1,7 +1,14 @@
package com.nis.domain.dashboard.codedic;
public class CodeOsTypeDic {
private Integer id;
import java.io.Serializable;
public class CodeOsTypeDic implements Serializable {
/**
*
*/
private static final long serialVersionUID = 3130292317922505634L;
private Integer id;
private String osType;

View File

@@ -1,7 +1,14 @@
package com.nis.domain.dashboard.codedic;
public class CodeProtocolTypeDic {
private Integer id;
import java.io.Serializable;
public class CodeProtocolTypeDic implements Serializable {
/**
*
*/
private static final long serialVersionUID = 4918506981012927864L;
private Integer id;
private String protocolType;

View File

@@ -1,7 +1,14 @@
package com.nis.domain.dashboard.codedic;
public class CodeServiceTypeDic {
private Integer id;
import java.io.Serializable;
public class CodeServiceTypeDic implements Serializable {
/**
*
*/
private static final long serialVersionUID = 4684291961768554944L;
private Integer id;
private String serviceType;

View File

@@ -1,7 +1,14 @@
package com.nis.domain.dashboard.codedic;
public class CodeWebServiceDic {
private Integer id;
import java.io.Serializable;
public class CodeWebServiceDic implements Serializable {
/**
*
*/
private static final long serialVersionUID = 3695848998373942822L;
private Integer id;
private String website;

View File

@@ -0,0 +1,11 @@
package com.nis.domain.log;
public class NtcAppLog extends BaseLogEntity<NtcAppLog> {
/**
*
*/
private static final long serialVersionUID = 6025543701060412591L;
}

View File

@@ -0,0 +1,81 @@
package com.nis.domain.log;
import java.util.Date;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcDdosLog extends BaseLogEntity<NtcDdosLog> {
/**
*
*/
private static final long serialVersionUID = 9080132009178985910L;
@ApiModelProperty(value = "攻击类型", required = true)
protected Integer attackType;
@ApiModelProperty(value = "攻击起始时间", required = true)
protected Date attackStartTime;
@ApiModelProperty(value = "最后一次攻击包时间", required = true)
protected Date lastAttackTime;
@ApiModelProperty(value = "攻击最大流量, 包数/秒", required = true)
protected String attackMaxPps;
@ApiModelProperty(value = "攻击最大流量, bit数/秒", required = true)
protected String attackMaxBps;
@ApiModelProperty(value = "攻击累积包数", required = true)
protected String attackTotalPkt;
@ApiModelProperty(value = "攻击累积字节数", required = true)
protected String attackTotalByte;
@ApiModelProperty(value = "攻击流量是否被丢弃", required = true)
protected Integer isBlcok;
public Integer getAttackType() {
return attackType;
}
public void setAttackType(Integer attackType) {
this.attackType = attackType;
}
public Date getAttackStartTime() {
return attackStartTime;
}
public void setAttackStartTime(Date attackStartTime) {
this.attackStartTime = attackStartTime;
}
public Date getLastAttackTime() {
return lastAttackTime;
}
public void setLastAttackTime(Date lastAttackTime) {
this.lastAttackTime = lastAttackTime;
}
public String getAttackMaxPps() {
return attackMaxPps;
}
public void setAttackMaxPps(String attackMaxPps) {
this.attackMaxPps = attackMaxPps;
}
public String getAttackMaxBps() {
return attackMaxBps;
}
public void setAttackMaxBps(String attackMaxBps) {
this.attackMaxBps = attackMaxBps;
}
public String getAttackTotalPkt() {
return attackTotalPkt;
}
public void setAttackTotalPkt(String attackTotalPkt) {
this.attackTotalPkt = attackTotalPkt;
}
public String getAttackTotalByte() {
return attackTotalByte;
}
public void setAttackTotalByte(String attackTotalByte) {
this.attackTotalByte = attackTotalByte;
}
public Integer getIsBlcok() {
return isBlcok;
}
public void setIsBlcok(Integer isBlcok) {
this.isBlcok = isBlcok;
}
}