snat配置下发优化

app相关数据更改
This commit is contained in:
DuanDongmei
2018-12-08 15:42:59 +08:00
parent 7e25680213
commit a029084563
7 changed files with 82 additions and 40 deletions

View File

@@ -1,20 +1,31 @@
package com.nis.domain.configuration;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* IP复用策略
* @author dell
*
*/
/**
* @author DuanDongmei
*
*/
public class IpReusePolicyCfg extends BaseCfg<IpReusePolicyCfg>{
private static final long serialVersionUID = 2904010760648378142L;
private String indexTable="ip_reuse_policy_cfg";
private Integer userId; // 用户标识
private String userType; // 用户类型
private Integer addrPoolId; // 地址池ID
private String translateParam; // 地址翻译参数
@Expose
protected String userType; // 用户类型
@Expose
protected Integer addrPoolId; // 地址池ID
@Expose
protected String translateParam; // 地址翻译参数
@Expose
@SerializedName("userId")
private String userName;
private String addrPoolName; // 仅用于列表条件检索
@@ -22,6 +33,33 @@ public class IpReusePolicyCfg extends BaseCfg<IpReusePolicyCfg>{
private Integer ipPattern;
private String srcIpAddress;
private String destIpAddress;
@Expose
@SerializedName("configId")
private Integer compileId;
@Expose
@SerializedName("effectiveRange")
private String areaEffectiveIds ;
@Expose
private Integer doLog ;
public void setDoLog(Integer doLog) {
this.doLog = doLog;
}
public Integer getDoLog() {
return doLog;
}
public Integer getCompileId() {
return compileId;
}
public void setCompileId(Integer compileId) {
this.compileId = compileId;
}
public String getAreaEffectiveIds() {
return areaEffectiveIds;
}
public void setAreaEffectiveIds(String areaEffectiveIds) {
this.areaEffectiveIds = areaEffectiveIds;
}
public Integer getUserId() {
return userId;