2018-06-05 17:28:45 +08:00
|
|
|
/**
|
|
|
|
|
*@Title: InlineIp.java
|
|
|
|
|
*@Package com.nis.domain.callback
|
|
|
|
|
*@Description TODO
|
|
|
|
|
*@author dell
|
|
|
|
|
*@date 2018年6月5日 上午9:08:34
|
|
|
|
|
*@version 版本号
|
|
|
|
|
*/
|
|
|
|
|
package com.nis.domain.callback;
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
import com.google.gson.annotations.Expose;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ClassName: InlineIp.java
|
|
|
|
|
* @Description: TODO
|
|
|
|
|
* @author (dell)
|
|
|
|
|
* @date 2018年6月5日 上午9:08:34
|
|
|
|
|
* @version V1.0
|
|
|
|
|
*/
|
|
|
|
|
public class InlineIp {
|
2018-06-22 15:59:47 +08:00
|
|
|
@Expose
|
|
|
|
|
private Integer id;
|
2018-06-05 17:28:45 +08:00
|
|
|
@Expose
|
|
|
|
|
private Integer cfgId;
|
|
|
|
|
@Expose
|
|
|
|
|
private Integer action;
|
|
|
|
|
@Expose
|
|
|
|
|
private Integer service;
|
|
|
|
|
@Expose
|
|
|
|
|
private Integer addrType;
|
|
|
|
|
@Expose
|
|
|
|
|
private String srcIp;
|
|
|
|
|
@Expose
|
|
|
|
|
private String maskSrcIp;
|
|
|
|
|
@Expose
|
|
|
|
|
private String srcPort;
|
|
|
|
|
@Expose
|
|
|
|
|
private String maskSrcPort;
|
|
|
|
|
@Expose
|
|
|
|
|
private String dstIp;
|
|
|
|
|
@Expose
|
|
|
|
|
private String maskDstIp;
|
|
|
|
|
@Expose
|
|
|
|
|
private String dstPort;
|
|
|
|
|
@Expose
|
|
|
|
|
private String maskDstPort;
|
|
|
|
|
@Expose
|
|
|
|
|
private Integer protocol;
|
|
|
|
|
@Expose
|
|
|
|
|
private Integer direction;
|
|
|
|
|
@Expose
|
|
|
|
|
private Integer isValid;
|
|
|
|
|
@Expose
|
|
|
|
|
private Date opTime;
|
2018-06-22 15:59:47 +08:00
|
|
|
@Expose
|
2018-07-30 18:14:22 +08:00
|
|
|
private Integer policyGroup;
|
2018-10-18 10:11:38 +08:00
|
|
|
@Expose
|
|
|
|
|
private String userRegion;//用于存储协议跟流量阀值
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getUserRegion() {
|
|
|
|
|
return userRegion;
|
|
|
|
|
}
|
|
|
|
|
public void setUserRegion(String userRegion) {
|
|
|
|
|
this.userRegion = userRegion;
|
|
|
|
|
}
|
2018-06-05 17:28:45 +08:00
|
|
|
/**
|
|
|
|
|
* action
|
|
|
|
|
* @return action
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Integer getAction() {
|
|
|
|
|
return action;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param action the action to set
|
|
|
|
|
*/
|
|
|
|
|
public void setAction(Integer action) {
|
|
|
|
|
this.action = action;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* addrType
|
|
|
|
|
* @return addrType
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Integer getAddrType() {
|
|
|
|
|
return addrType;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param addrType the addrType to set
|
|
|
|
|
*/
|
|
|
|
|
public void setAddrType(Integer addrType) {
|
|
|
|
|
this.addrType = addrType;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* srcIp
|
|
|
|
|
* @return srcIp
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getSrcIp() {
|
|
|
|
|
return srcIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param srcIp the srcIp to set
|
|
|
|
|
*/
|
|
|
|
|
public void setSrcIp(String srcIp) {
|
|
|
|
|
this.srcIp = srcIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* maskSrcIp
|
|
|
|
|
* @return maskSrcIp
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getMaskSrcIp() {
|
|
|
|
|
return maskSrcIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param maskSrcIp the maskSrcIp to set
|
|
|
|
|
*/
|
|
|
|
|
public void setMaskSrcIp(String maskSrcIp) {
|
|
|
|
|
this.maskSrcIp = maskSrcIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* srcPort
|
|
|
|
|
* @return srcPort
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getSrcPort() {
|
|
|
|
|
return srcPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param srcPort the srcPort to set
|
|
|
|
|
*/
|
|
|
|
|
public void setSrcPort(String srcPort) {
|
|
|
|
|
this.srcPort = srcPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* maskSrcPort
|
|
|
|
|
* @return maskSrcPort
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getMaskSrcPort() {
|
|
|
|
|
return maskSrcPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param maskSrcPort the maskSrcPort to set
|
|
|
|
|
*/
|
|
|
|
|
public void setMaskSrcPort(String maskSrcPort) {
|
|
|
|
|
this.maskSrcPort = maskSrcPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* dstIp
|
|
|
|
|
* @return dstIp
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getDstIp() {
|
|
|
|
|
return dstIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param dstIp the dstIp to set
|
|
|
|
|
*/
|
|
|
|
|
public void setDstIp(String dstIp) {
|
|
|
|
|
this.dstIp = dstIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* maskDstIp
|
|
|
|
|
* @return maskDstIp
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getMaskDstIp() {
|
|
|
|
|
return maskDstIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param maskDstIp the maskDstIp to set
|
|
|
|
|
*/
|
|
|
|
|
public void setMaskDstIp(String maskDstIp) {
|
|
|
|
|
this.maskDstIp = maskDstIp;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* dstPort
|
|
|
|
|
* @return dstPort
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getDstPort() {
|
|
|
|
|
return dstPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param dstPort the dstPort to set
|
|
|
|
|
*/
|
|
|
|
|
public void setDstPort(String dstPort) {
|
|
|
|
|
this.dstPort = dstPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* maskDstPort
|
|
|
|
|
* @return maskDstPort
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public String getMaskDstPort() {
|
|
|
|
|
return maskDstPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param maskDstPort the maskDstPort to set
|
|
|
|
|
*/
|
|
|
|
|
public void setMaskDstPort(String maskDstPort) {
|
|
|
|
|
this.maskDstPort = maskDstPort;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* protocol
|
|
|
|
|
* @return protocol
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Integer getProtocol() {
|
|
|
|
|
return protocol;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param protocol the protocol to set
|
|
|
|
|
*/
|
|
|
|
|
public void setProtocol(Integer protocol) {
|
|
|
|
|
this.protocol = protocol;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* direction
|
|
|
|
|
* @return direction
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Integer getDirection() {
|
|
|
|
|
return direction;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param direction the direction to set
|
|
|
|
|
*/
|
|
|
|
|
public void setDirection(Integer direction) {
|
|
|
|
|
this.direction = direction;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* isValid
|
|
|
|
|
* @return isValid
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
return isValid;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param isValid the isValid to set
|
|
|
|
|
*/
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* opTime
|
|
|
|
|
* @return opTime
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Date getOpTime() {
|
|
|
|
|
return opTime;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param opTime the opTime to set
|
|
|
|
|
*/
|
|
|
|
|
public void setOpTime(Date opTime) {
|
|
|
|
|
this.opTime = opTime;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* cfgId
|
|
|
|
|
* @return cfgId
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Integer getCfgId() {
|
|
|
|
|
return cfgId;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param cfgId the cfgId to set
|
|
|
|
|
*/
|
|
|
|
|
public void setCfgId(Integer cfgId) {
|
|
|
|
|
this.cfgId = cfgId;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* service
|
|
|
|
|
* @return service
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public Integer getService() {
|
|
|
|
|
return service;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @param service the service to set
|
|
|
|
|
*/
|
|
|
|
|
public void setService(Integer service) {
|
|
|
|
|
this.service = service;
|
|
|
|
|
}
|
2018-06-22 15:59:47 +08:00
|
|
|
public Integer getId() {
|
|
|
|
|
return id;
|
|
|
|
|
}
|
|
|
|
|
public void setId(Integer id) {
|
|
|
|
|
this.id = id;
|
|
|
|
|
}
|
2018-07-30 18:14:22 +08:00
|
|
|
public Integer getPolicyGroup() {
|
2018-06-22 15:59:47 +08:00
|
|
|
return policyGroup;
|
|
|
|
|
}
|
2018-07-30 18:14:22 +08:00
|
|
|
public void setPolicyGroup(Integer policyGroup) {
|
2018-06-22 15:59:47 +08:00
|
|
|
this.policyGroup = policyGroup;
|
|
|
|
|
}
|
2018-06-05 17:28:45 +08:00
|
|
|
|
|
|
|
|
}
|