IP拦截、域名拦截导入提交.

This commit is contained in:
zhangwq
2018-12-16 20:27:25 +08:00
parent 153e1d43e1
commit e75e120ecc
10 changed files with 211 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
package com.nis.domain.configuration.template;
import com.nis.util.excel.ExcelField;
/**
* EXCEL DomainIntercept 导入模板(监测)
* @author dell
*
*/
public class DomainInterceptMonitTemplate extends StringAllTemplate{
private String userRegion5;
private String cfgKeywords;
@ExcelField(title="intercept_intensity",dictType="INTERCEPT_DOMAIN_INTENSITY",align=2,sort=2)
public String getUserRegion5() {
return userRegion5;
}
public void setUserRegion5(String userRegion5) {
this.userRegion5 = userRegion5;
}
@ExcelField(title="domain_name",sort=11)
public String getCfgKeywords() {
return cfgKeywords;
}
public void setCfgKeywords(String cfgKeywords) {
this.cfgKeywords = cfgKeywords;
}
}

View File

@@ -0,0 +1,33 @@
package com.nis.domain.configuration.template;
import com.nis.util.excel.ExcelField;
/**
* EXCEL DomainIntercept 导入模板(限速)
* @author dell
*
*/
public class DomainInterceptRateLimitTemplate extends StringAllTemplate{
private String userRegion2;
private String cfgKeywords;
@ExcelField(title="ratelimit",dictType="RATE_LIMIT",align=2,sort=2)
public String getUserRegion2() {
return userRegion2;
}
public void setUserRegion2(String userRegion2) {
this.userRegion2 = userRegion2;
}
@ExcelField(title="domain_name",sort=11)
public String getCfgKeywords() {
return cfgKeywords;
}
public void setCfgKeywords(String cfgKeywords) {
this.cfgKeywords = cfgKeywords;
}
}

View File

@@ -0,0 +1,16 @@
package com.nis.domain.configuration.template;
import com.nis.util.excel.ExcelField;
public class DomainInterceptTemplate extends StringAllTemplate{
private String cfgKeywords;
@ExcelField(title="domain_name",sort=11)
public String getCfgKeywords() {
return cfgKeywords;
}
public void setCfgKeywords(String cfgKeywords) {
this.cfgKeywords = cfgKeywords;
}
}

View File

@@ -0,0 +1,14 @@
package com.nis.domain.configuration.template;
/**
* IP拦截 拦截
* @author dell
*
*/
public class IpInterceptMonitTemplate extends IpAllTemplate{
@Override
public Integer getProtocol() {
return super.getProtocol();
}
}