DNS原始日志添加searchQname查询条件;

SSL原始日志添加searchSni查询条件;
This commit is contained in:
zhangdongxu
2018-08-03 10:32:18 +08:00
parent 11667526fb
commit e2f1cfc194
2 changed files with 39 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package com.nis.domain.restful;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nis.domain.LogEntity;
import com.wordnik.swagger.annotations.ApiModelProperty;
@@ -41,6 +42,10 @@ public class NtcDnsLog extends LogEntity {
@ApiModelProperty(value="DNS_SUB", required=true)
protected Integer dnsSub ;
@ApiModelProperty(value="查询内容", required=true)
protected String searchQname ;
public Integer getRd() {
return rd;
@@ -121,4 +126,19 @@ public class NtcDnsLog extends LogEntity {
public void setDnsSub(Integer dnsSub) {
this.dnsSub = dnsSub;
}
/**
* @param searchQName the searchQName to set
*/
public void setSearchQname(String searchQname) {
this.searchQname = searchQname;
}
/**
* @return the searchQName
*/
@JsonIgnore
public String getSearchQname() {
return searchQname;
}
}

View File

@@ -1,5 +1,6 @@
package com.nis.domain.restful;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nis.domain.LogEntity;
import com.wordnik.swagger.annotations.ApiModelProperty;
@@ -23,6 +24,9 @@ public class NtcSslLog extends LogEntity {
@ApiModelProperty(value="证书授权机构", required=true)
protected String cn;
@ApiModelProperty(value="SNI", required=true)
protected String searchSni ;
public String getVersion() {
return version;
}
@@ -54,4 +58,19 @@ public class NtcSslLog extends LogEntity {
public void setCn(String cn) {
this.cn = cn;
}
/**
* @param searchSni the searchSni to set
*/
public void setSearchSni(String searchSni) {
this.searchSni = searchSni;
}
/**
* @return the searchSni
*/
@JsonIgnore
public String getSearchSni() {
return searchSni;
}
}