114 lines
2.6 KiB
Java
114 lines
2.6 KiB
Java
package com.nis.domain.configuration;
|
||
|
||
import com.google.gson.annotations.Expose;
|
||
import com.google.gson.annotations.SerializedName;
|
||
import com.nis.util.excel.ExcelField;
|
||
|
||
/**
|
||
* 代理欺骗IP池对象类
|
||
* @author dell
|
||
*
|
||
*/
|
||
public class PxyObjSpoofingIpPool extends BaseIpCfg{
|
||
|
||
/**
|
||
*
|
||
*/
|
||
private static final long serialVersionUID = 8149437730819674317L;
|
||
private String indexTable="ip_port_cfg";
|
||
@Expose
|
||
@SerializedName("port")
|
||
private String port;
|
||
@Expose
|
||
@SerializedName("addrType")
|
||
@ExcelField(title="ip_type",dictType="IP_TYPE",sort=4)
|
||
private Integer ipType;
|
||
@Expose
|
||
@SerializedName("ip")
|
||
@ExcelField(title="IP",sort=5)
|
||
private String ipAddress;
|
||
@ExcelField(title="group",sort=3)
|
||
private String groupName;//欺骗IP池(IP组)名称
|
||
@Expose
|
||
@SerializedName("policyGroup")
|
||
private Integer groupId;//欺骗IP池(IP组)id
|
||
@Expose
|
||
@SerializedName("location")
|
||
private Integer location;//位置,无意义,固定为0
|
||
@Expose
|
||
@SerializedName("cfgId")
|
||
@ExcelField(title="cfg_id",sort=0)
|
||
private Integer compileId;
|
||
@Expose
|
||
@SerializedName("userRegion")
|
||
private String userRegion;
|
||
@Expose
|
||
@SerializedName("effectiveRange")
|
||
private String areaEffectiveIds ;
|
||
public String getIpAddress() {
|
||
return ipAddress;
|
||
}
|
||
public void setIpAddress(String ipAddress) {
|
||
this.ipAddress = ipAddress;
|
||
}
|
||
public Integer getGroupId() {
|
||
if((groupId==null || groupId==0) && cfgId!=null){
|
||
groupId=cfgId.intValue();
|
||
}
|
||
return groupId;
|
||
}
|
||
public void setGroupId(Integer groupId) {
|
||
this.groupId = groupId;
|
||
}
|
||
public Integer getLocation() {
|
||
return location;
|
||
}
|
||
public void setLocation(Integer location) {
|
||
this.location = location;
|
||
}
|
||
public Integer getCompileId() {
|
||
return compileId;
|
||
}
|
||
public void setCompileId(Integer compileId) {
|
||
this.compileId = compileId;
|
||
}
|
||
public String getGroupName() {
|
||
return groupName;
|
||
}
|
||
public void setGroupName(String groupName) {
|
||
this.groupName = groupName;
|
||
}
|
||
public String getIndexTable() {
|
||
return indexTable;
|
||
}
|
||
public void setIndexTable(String indexTable) {
|
||
this.indexTable = indexTable;
|
||
}
|
||
public String getPort() {
|
||
port="0";
|
||
return port;
|
||
}
|
||
public void setPort(String port) {
|
||
this.port = port;
|
||
}
|
||
public Integer getIpType() {
|
||
return ipType;
|
||
}
|
||
public void setIpType(Integer ipType) {
|
||
this.ipType = ipType;
|
||
}
|
||
public String getUserRegion() {
|
||
return userRegion;
|
||
}
|
||
public void setUserRegion(String userRegion) {
|
||
this.userRegion = userRegion;
|
||
}
|
||
public String getAreaEffectiveIds() {
|
||
return areaEffectiveIds;
|
||
}
|
||
public void setAreaEffectiveIds(String areaEffectiveIds) {
|
||
this.areaEffectiveIds = areaEffectiveIds;
|
||
}
|
||
|
||
}
|