This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/java/com/nis/domain/configuration/PxyObjSpoofingIpPool.java
zhangwei d2853dc1ab 1.修改代理的拦截策略,将IP与域名拦截整合为一个serviceId与functionId,可组合配置;
2.修改部分界面判断登录用户是否为超级用户的判断依据。
2018-12-28 19:24:36 +06:00

114 lines
2.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}
}