137 lines
3.1 KiB
Java
137 lines
3.1 KiB
Java
|
|
package com.nis.domain.basics;
|
||
|
|
|
||
|
|
import com.google.gson.annotations.Expose;
|
||
|
|
import com.google.gson.annotations.SerializedName;
|
||
|
|
import com.nis.domain.configuration.BaseCfg;
|
||
|
|
|
||
|
|
public class AsnIpCfg extends BaseCfg<AsnIpCfg> {
|
||
|
|
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
private static final long serialVersionUID = 398247881810945300L;
|
||
|
|
private static final String tableName="asn_ip_cfg";
|
||
|
|
@Expose
|
||
|
|
private Integer regionId;
|
||
|
|
@Expose
|
||
|
|
private String ratelimit;
|
||
|
|
@Expose
|
||
|
|
@SerializedName("ipType")
|
||
|
|
private Integer ipType;
|
||
|
|
private Integer ipPattern;
|
||
|
|
private String srcIpAddress;
|
||
|
|
private String destIpAddress;
|
||
|
|
private Integer portPattern;
|
||
|
|
private String srcPort;
|
||
|
|
private String destPort;
|
||
|
|
private String asnIpGroupName;//asn组名
|
||
|
|
private Integer asnIpGroup;//asn号
|
||
|
|
/**
|
||
|
|
* 方向
|
||
|
|
*/
|
||
|
|
@Expose
|
||
|
|
@SerializedName("direction")
|
||
|
|
private Integer direction ;
|
||
|
|
/**
|
||
|
|
* 方向
|
||
|
|
*/
|
||
|
|
@Expose
|
||
|
|
@SerializedName("protocol")
|
||
|
|
private Integer protocol ;
|
||
|
|
private Integer protocolId;
|
||
|
|
private Integer compileId=0;
|
||
|
|
|
||
|
|
public Integer getCompileId() {
|
||
|
|
return compileId;
|
||
|
|
}
|
||
|
|
public Integer getProtocolId() {
|
||
|
|
return protocolId;
|
||
|
|
}
|
||
|
|
public void setProtocolId(Integer protocolId) {
|
||
|
|
this.protocolId = protocolId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getAsnIpGroupName() {
|
||
|
|
return asnIpGroupName;
|
||
|
|
}
|
||
|
|
public void setAsnIpGroupName(String asnIpGroupName) {
|
||
|
|
this.asnIpGroupName = asnIpGroupName;
|
||
|
|
}
|
||
|
|
public Integer getAsnIpGroup() {
|
||
|
|
return asnIpGroup;
|
||
|
|
}
|
||
|
|
public void setAsnIpGroup(Integer asnIpGroup) {
|
||
|
|
this.asnIpGroup = asnIpGroup;
|
||
|
|
}
|
||
|
|
public String getRatelimit() {
|
||
|
|
return ratelimit;
|
||
|
|
}
|
||
|
|
public void setRatelimit(String ratelimit) {
|
||
|
|
this.ratelimit = ratelimit;
|
||
|
|
}
|
||
|
|
public Integer getIpType() {
|
||
|
|
return ipType;
|
||
|
|
}
|
||
|
|
public void setIpType(Integer ipType) {
|
||
|
|
this.ipType = ipType;
|
||
|
|
}
|
||
|
|
public Integer getIpPattern() {
|
||
|
|
return ipPattern;
|
||
|
|
}
|
||
|
|
public void setIpPattern(Integer ipPattern) {
|
||
|
|
this.ipPattern = ipPattern;
|
||
|
|
}
|
||
|
|
public String getSrcIpAddress() {
|
||
|
|
return srcIpAddress;
|
||
|
|
}
|
||
|
|
public void setSrcIpAddress(String srcIpAddress) {
|
||
|
|
this.srcIpAddress = srcIpAddress;
|
||
|
|
}
|
||
|
|
public String getDestIpAddress() {
|
||
|
|
return destIpAddress;
|
||
|
|
}
|
||
|
|
public void setDestIpAddress(String destIpAddress) {
|
||
|
|
this.destIpAddress = destIpAddress;
|
||
|
|
}
|
||
|
|
public Integer getPortPattern() {
|
||
|
|
return portPattern;
|
||
|
|
}
|
||
|
|
public void setPortPattern(Integer portPattern) {
|
||
|
|
this.portPattern = portPattern;
|
||
|
|
}
|
||
|
|
public String getSrcPort() {
|
||
|
|
return srcPort;
|
||
|
|
}
|
||
|
|
public void setSrcPort(String srcPort) {
|
||
|
|
this.srcPort = srcPort;
|
||
|
|
}
|
||
|
|
public String getDestPort() {
|
||
|
|
return destPort;
|
||
|
|
}
|
||
|
|
public void setDestPort(String destPort) {
|
||
|
|
this.destPort = destPort;
|
||
|
|
}
|
||
|
|
public Integer getDirection() {
|
||
|
|
return direction;
|
||
|
|
}
|
||
|
|
public void setDirection(Integer direction) {
|
||
|
|
this.direction = direction;
|
||
|
|
}
|
||
|
|
public Integer getProtocol() {
|
||
|
|
return protocol;
|
||
|
|
}
|
||
|
|
public void setProtocol(Integer protocol) {
|
||
|
|
this.protocol = protocol;
|
||
|
|
}
|
||
|
|
public static String getTablename() {
|
||
|
|
return tableName;
|
||
|
|
}
|
||
|
|
public Integer getRegionId() {
|
||
|
|
return regionId;
|
||
|
|
}
|
||
|
|
public void setRegionId(Integer regionId) {
|
||
|
|
this.regionId = regionId;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|